Authenticate to ECR on OSX
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 )
@resteemator is a new bot casting votes for its followers. Follow @resteemator and vote this comment to increase your chance to be voted in the future!
Congratulations,
you just received a 16.47% upvote from @steemhq - Community Bot!
Wanna join and receive free upvotes yourself?
Vote for
steemhq.witness
on Steemit or directly on SteemConnect and join the Community Witness.This service was brought to you by SteemHQ.com