Publish to Amazon Elastic Container Registry (ECR)
Learn how to create and push Docker images to Amazon Elastic Container Registry (ECR).
We'll cover the following
Amazon Elastic Container Registry (ECR) is a fully managed container registry from Amazon Web Services (AWS) that allows us to store, manage, share, and deploy our container images anywhere. Storing Docker images on ECR requires us to have an account on the AWS cloud. We can easily create an account on the AWS website if we don’t have one already.
Create an image repository
To push an image to the AWS repository, we must first create an AWS image repository. This is where the image will be stored. We can create a repository by following the steps outlined below:
- Log in to the AWS console from your browser.
- Open the ECR console from [here].(https://console.aws.amazon.com/ecr/repositories)
- Click on the “Create repository” button to create a new repository.
- Fill in the image name.
- Click on the “Create” button