How to upload a Docker image to ECR using AWS CLI

Csaba Boros
3 min readMar 9, 2024

In this quick tutorial I will show you how to set up a ECR repository using the AWS Console then upload a Docker image to the repository using the AWS CLI manually. In production you would most probably integrate this as part of your CI/CD pipeline but this tutorial will give you a good idea of the necessary steps you will need to take.

Docker image to ECR

Create a new ECR repository using…