____  ___    _  _     _   _ _____     _______
 / ___|/ _ \  | || |   | | | |_ _\ \   / / ____|
| |  _| | | | | || |_  | |_| || | \ \ / /|  _|
| |_| | |_| | |__   _| |  _  || |  \ V / | |___
 \____|\___/     |_|   |_| |_|___|  \_/  |_____|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

Authenticate to ECR on OSX

BY: @throwawayaccount | CREATED: Sept. 6, 2018, 1:41 p.m. | VOTES: 8 | PAYOUT: $0.00 | [ VOTE ]

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 )

TAGS: [ #aws ] [ #linux ]

Replies

@resteemator | Sept. 6, 2018, 2:40 p.m. | Votes: 0 | [ VOTE ]

@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!

@steemhq | Sept. 7, 2018, 5:23 p.m. | Votes: 0 | [ VOTE ]

[IMAGE: https://www.steemhq.com/CommunityBotUpvote.png]

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.
[IMAGE: https://steemitimages.com/0x0/https://www.steemhq.com/steemhq_voting.gif]

This service was brought to you by SteemHQ.com

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>