LoginSignup
0
0

More than 5 years have passed since last update.

Amazon ECR/ECSの利用

Last updated at Posted at 2017-08-20

Services > Compute > EC2 Container Service
から

  • レジストリーを作成
  • awscliをインストール
aws configure # 認証情報をセット
aws ecr get-login --no-include-email --region ap-northeast-1 
# => docker login -u AWS -p ??..??= -e none https://??.dkr.ecr.ap-northeast-1.amazonaws.com

の実行結果をコピーし、eオプションを消したものを実行

docker tag [IMAGE_ID] [USERID].dkr.ecr.ap-northeast-1.amazonaws.com/[REPOSITORY_NAME]:latest
docker push [USERID].dkr.ecr.ap-northeast-1.amazonaws.com/[REPOSITORY_NAME]

多分できる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0