Answers for "docker ecr push from terminal aws vault"

3

docker login to ecr

PASSWORD=$(aws ecr get-login-password 2>&1)
docker login -u AWS -p $PASSWORD https://<account number>.dkr.ecr.<region>.amazonaws.com

# exmample https://123123123123.dkr.ecr.us-west-2.amazonaws.com
Posted by: Guest on August-13-2020

Browse Popular Code Answers by Language