Introduction to Amazon Elastic Container RegistryGo to Lab
A few of the steps were not updated to reflect changes on the AWS Console interface.
something wrong with the lab I can't get it to work
This lab was surprisingly more useful than the ECS lab that cost four times as many coins.
the following command was only giving issues EC2_REGION=`wget -q -O - http://169.254.169.254/latest/meta-data/placement/availability-zone | sed s/.$//` `aws ecr get-login --region $EC2_REGION`
When running the `aws ecr get-login --region $EC2_REGION` command, I got an error saying: "unknown shorthand flag: 'e' in -e". I then had to lookup the error and found this SO thread: https://stackoverflow.com/questions/44722341/docker-login-unknown-shorthand-flag-e. I was able to get it working by passing --no-include-email, but the lab didn't mention this. It needs to be updated so others don't have this issue.