November 2017
Intermediate to advanced
388 pages
8h 46m
English
Once we have our repository in place in AWS ECR, and assuming AWS CLI is installed in the server from where the Docker client is authenticating and pushing the image, we need to perform the following steps:
aws ecr get-login --no-include-email
root@awsstar:~# aws ecr get-login --no-include-email docker login -u AWS -p eyJwYXlsb2FkIjoiYW5FRXRPVE5sc0pxODVxOGQ3VkI1bUlqeVJlT1FJZHpFd0JMaVVBdWs0RVZTaFlDRWRZd0JUSEtFODY0QUEyMkFYMXVXSkkwM3ZXeFpqam5EU3E1QnpENVFHcHhScmZuQWRZVExrTE1BaUpscnBaVXhWSE5HQ3hCVHZaVVBsRERyRHVUYy9LMHc2WEdRSTdtbjk0cXJPVXdyajZnTWJ4NmYzSDlSeGEvdmU0aUcvTkh0ZSt0S0RRdk8zZUltSE1QZGRKdHdGcHpVSG1McUdWQ0habTV2bUhMbTlQZGxvUk9DRnNlaG5QM2g1eVNkTGo0Smp1U1VJYUZrUysya1Bk= ...