How to make ECR repository public?

Vineeth picture Vineeth · Aug 11, 2017 · Viewed 8.5k times · Source

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 changes. But somehow it's not working, and I still need to get authenticated with IAM user.

Permission Options

Answer

minamijoyo picture minamijoyo · Aug 11, 2017

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/