How to make ECR repository public?
Amazon just released support for public ECR repositories!
https://aws.amazon.com/blogs/aws/amazon-ecr-public-a-new-public-container-registry/
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.
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/