{"blog_title":"hatappi.blog","height":"190","author_name":"hatappi1225","version":"1.0","blog_url":"https://hatappi.blog/","author_url":"https://blog.hatena.ne.jp/hatappi1225/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","image_url":null,"width":"100%","published":"2017-05-15 19:54:55","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhatappi.blog%2Fentry%2F2017%2F05%2F15%2F195455\" title=\"Packer\u3067ECR\u306bpush\u3059\u308b\u6642\u306faws ecr get-login\u306e\u5de5\u7a0b\u306f\u3044\u3089\u306a\u304b\u3063\u305f - hatappi.blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://hatappi.blog/entry/2017/05/15/195455","title":"Packer\u3067ECR\u306bpush\u3059\u308b\u6642\u306faws ecr get-login\u306e\u5de5\u7a0b\u306f\u3044\u3089\u306a\u304b\u3063\u305f","description":"hatappi.hateblo.jp \u4ee5\u524d\u4e0a\u8a18\u306e\u8a18\u4e8b\u3067Packer\u3067Docker Image\u3092\u4f5c\u6210\u3059\u308b\u4e2d\u3067\u6700\u5f8c\u306bDocker Push\u3059\u308b\u969b\u306e\u60c5\u5831\u3092aws\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066Docker Login\u7528\u306e\u30b3\u30de\u30f3\u30c9\u3092\u51fa\u529b\u3057\u3066\u305d\u308c\u3092\u4f7f\u3063\u3066\u3044\u305f # \u4e8b\u524d\u306baws configure\u304c\u3059\u3093\u3067\u3044\u308b\u3053\u3068 $ aws ecr get-login --region ap-northeast-1 docker login -u AWS -p [password] -e none https://11111.dkr.ecr.ap-northeast-1.amazonaws.com \u305f\u3060\u3053\u306e\u624b\u9806\u306b\u306f1\u3064\u554f\u984c\u304c\u3042\u3063\u305f \u554f\u2026"}