ECR CLI
Some of the CLI for ECR (Elastic Container Registry)
- Login command
- AWS CLI v2
aws ecr get-login-password --region region | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com
- Docker command
- Push / pull
docker push aws_account_id.dkr.ecr.region.amazonaws.com/demo:latest
docker pull aws_account_id.dkr.ecr.region.amazonaws.com/demo:latest