This content was muted by moderators for not following community guidelines.

Authenticate to ECR on OSX

Words
56
Reading
1 min
Listen
Play
8y

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 )

Authenticate to ECR on OSX | Ecency