用語
AWS Elastic Container Registry (ECR)
container registoryを管理するツール
使い方
login
aws ecr get-login-password --region region | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com
push docker image
docker tag <IMAGE_ID> aws_account_id.dkr.ecr.region.amazonaws.com/my-repository:tag
docker push aws_account_id.dkr.ecr.region.amazonaws.com/my-repository:tag
pull docker image
docker pull aws_account_id.dkr.ecr.region.amazonaws.com/my-repository:tag