How to setup Docker Registry in Amazon ECR | Create Docker image and push to Amazon ECR | ECR Docker

24
31



https://www.cidevops.com/2020/05/how-to-setup-elastic-container-registry.html

Amazon ECR uses Amazon S3 for storage to make your container images highly available and accessible, allowing you to reliably deploy new containers for your applications.

Step # 1 – Create a Repo in ECR
Step # 2 – Create an IAM role to access ECR
Step # 3 – Attach an IAM role to Ec2 instance
Step # 4 – Login to ECR from EC2
Step # 5 – Create Docker image, tag it
Step # 5 – Push Docker image into ECR

source

Previous articleTunes & A Brew: Vinyl/Beer Pairing
Next articleAWS re:Invent 2018: [REPEAT 1] Elastic Load Balancing: Deep Dive and Best Practices (NET404-R1)

31 COMMENTS

  1. Question – I am using secret key, and have logged in with ecr via windows command prompt (using aws cli v2).

    When I go to push my tagged image to ecr from windows command prompt (docker desktop installed), several of the layers push and then suddenly it stops mid push on the next layer. No matter what I try it doesn't work. Any ideas on why this might be happening?