I\'m trying to push a docker image to an Amazon ECR registry. I\'m using docker client Docker version 1.9.1, build a34a1d5. I use aws ecr get-login --regi
a34a1d5
aws ecr get-login --regi
There has just been an update where get-login was removed from AWS, instead use get-login-password:
sudo docker login -u AWS -p $(aws ecr get-login-password --region - -profile ) .dkr.ecr.eu-north-1.amazonaws.com
Dont forget to remove the --profile flag if using default credentials