aws ecr docker authorize code example
Example: docker login to ecr
PASSWORD=$(aws ecr get-login-password 2>&1)
docker login -u AWS -p $PASSWORD https://.dkr.ecr..amazonaws.com
# exmample https://123123123123.dkr.ecr.us-west-2.amazonaws.com
PASSWORD=$(aws ecr get-login-password 2>&1)
docker login -u AWS -p $PASSWORD https://.dkr.ecr..amazonaws.com
# exmample https://123123123123.dkr.ecr.us-west-2.amazonaws.com