aws ecr get-login-password --region us-east-1 \ | docker login --username AWS \ --password-stdin XXXXXXXXXXX.dkr.ecr.us-east-1.amazonaws.com
Where, "XXXXXXXXXXX" – AWS Account ID,
"us-east-1" – AWS Region
aws ecr get-login-password --region us-east-1 \ | docker login --username AWS \ --password-stdin XXXXXXXXXXX.dkr.ecr.us-east-1.amazonaws.com
Where, "XXXXXXXXXXX" – AWS Account ID,
"us-east-1" – AWS Region