Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make ECR repository public?

How to make an ECR repository public for anybody to pull from. I see the policy document in the permission sections is where I should make permission changes. But it's not working, and I still need to get authenticated with the IAM user.

Permission Options

like image 340
Vineeth Avatar asked Aug 11 '17 11:08

Vineeth


People also ask

Is it possible to have a public repository with ECR?

A public repository is open to pull images from and is visible on the Amazon ECR Public Gallery. When you create a public repository, you specify catalog data that helps users find and use your images. For more information about the Amazon ECR Public Gallery, see Using the Amazon ECR Public Gallery.

What is public ECR AWS?

Amazon Elastic Container Registry Public (Amazon ECR Public) is a fully managed registry that makes it easy for a developer to publicly share container software worldwide for anyone to download. Anyone (with or without an AWS account) can use Amazon ECR Public to pull container software for use.

What are ECR repositories?

Amazon Elastic Container Registry (Amazon ECR) is an AWS managed container image registry service that is secure, scalable, and reliable. Amazon ECR supports private repositories with resource-based permissions using AWS IAM.


1 Answers

Amazon ECR currently supports private images. See official AWS ECR FAQ:

https://aws.amazon.com/ecr/faqs/

Q: Can Amazon ECR host public container images?

Amazon ECR currently supports private images. However, using IAM resource-based permissions, you can configure policies for each repository to allow access to IAM users, roles, or other AWS accounts.

You can use Docker Hub or other public repositories.

https://hub.docker.com/

like image 167
minamijoyo Avatar answered Oct 19 '22 22:10

minamijoyo