Vineeth
Vineeth

Reputation: 1032

How to make AWS ECR repository public?

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

Permission Options

Upvotes: 17

Views: 13571

Answers (3)

dschofie
dschofie

Reputation: 256

Amazon just released support for public ECR repositories!

https://aws.amazon.com/blogs/aws/amazon-ecr-public-a-new-public-container-registry/

Upvotes: 9

monken
monken

Reputation: 146

check out https://github.com/monken/aws-ecr-public. It's a solution that provisions a serverless API Gateway to make ECR repositories public. It also supports custom domains.

Upvotes: 7

minamijoyo
minamijoyo

Reputation: 3445

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/

Upvotes: 16

Related Questions