4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Authenticate to ECR on OSX

https://cyclecomputing.com/wp-content/uploads/2016/04/AmazonWebservices_Logo.svg_.png

I had trouble figuring out how to run the following command on Linux to authenticate to ECR:

So usually when you authenticate to ECR it just does a docker login in the background.
AWS suggests that you use this command:(Which doesn't work for me on OSX):

eval $(aws ecr get-login --no-include-email)

This fix worked for me:( Should include the dollar sign)

$(aws ecr get-login --no-include-email --profile dstv-staging --region eu-west-1 )

7 upvotes 1 downvotes $0.00

Replies (2)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: