Amazon ECR Repositories
Amazon ECR provides API operations to create, monitor, and delete repositories and set repository permissions that control who can access them. You can perform the same actions in the Repositories section of the Amazon ECS console. Amazon ECR also integrates with the Docker CLI allowing you to push and pull images from your development environments to your repositories.
By default, your account has read and write access to the repositories in your default registry (
). However, IAM users require permissions to make calls to the Amazon ECR APIs and to push or pull images from your repositories. Amazon ECR provides several managed policies to control user access at varying levels; for more information, see Amazon ECR Managed Policies.
Repositories can be controlled with both IAM user access policies and repository policies. For more information, see Amazon ECR Repository Policies.
Repository names can support namespaces, which you can use to group similar repositories. For example if there are several teams using the same registry, Team A could use the
team-anamespace while Team B uses the
team-bnamespace. Each team could have their own image called
web-app, but because they are each prefaced with the team namespace, the two images can be used simultaneously without interference. Team A's image would be called
team-a/web-app, while Team B's image would be called