ECR ¶
Amazon Elastic Container Registry
(Amazon ECR) is a fully managed
container registry offering high-performance hosting, so you can reliably deploy application images and artifacts anywhere
.
Amazon ECR supports private repositories with resource-based permissions using AWS IAM. This is so that specified users or Amazon EC2 instances can access your container repositories and images.
You can use your preferred CLI to push, pull, and manage Docker images
, Open Container Initiative (OCI) images
, and OCI compatible artifacts.
Components of ECR¶
Registry¶
An Amazon ECR private registry hosts
your container images in a highly available and scalable architecture. You can use your private registry to manage private image repositories consisting of Docker and Open Container Initiative (OCI) images and artifacts. Each AWS account is provided with a default private Amazon ECR registry.
Repository¶
An Amazon ECR repository contains your Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see Amazon ECR private repositories.
Authorization token¶
Your client must authenticate to an Amazon ECR private registry as an AWS user before it can push and pull images. For more information, see Private registry authentication in Amazon ECR.
Repository policy¶
You can control access to your repositories and the contents within them with
- Repository Policy
- IAM Policy
Image¶
You can push
and pull
container images to your repositories. You can use these images locally on your development system, or you can use them in Amazon ECS task definitions
and Amazon EKS pod specifications.