-
Clone the git repository https://github.com/awslabs/amazon-ecr-credential-helper.git
-
cd to the cloned folder "amazon-ecr-credential-helper"
-
Run the command on terminal "make docker" (it will create the binary "./bin/local/docker-credential-ecr-login")
-
Copy this binary to /usr/bin with the command " sudo cp ./bin/local/docker-credential-ecr-login /usr/bin/docker-credential-ecr-login
-
Create or modify the docker config.json file available at /.docker/config.json with the below content
{ "credsStore": "ecr-login" }
Last active
December 4, 2018 08:59
-
-
Save latenssi/0bed3ce843571d6d999982d28c16e914 to your computer and use it in GitHub Desktop.
AWS ECR helper
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment