Free DockerHub Alternative - ECR Public Gallery

docker-rate-limits

DockerHub started rate limiting1 anonymous docker pulls. When testing out a new CI/CD setup, I hit the rate limit and had to wait for an hour to pull the image. This was a good time to look for alternatives.

AWS ECR Public Gallery2 is a good alternative to DockerHub as of today(2025 Feb). It is free and does not have rate limits even for anonymous users.

public-ecr-gallery

Once we find the required image from the gallery, we can simply change the image name in the docker pull command to pull the image from ECR Gallery.

docker pull public.ecr.aws/ubuntu/ubuntu

In Dockerfile, we can use the image from ECR Gallery as follows:

FROM public.ecr.aws/ubuntu/ubuntu

That is a quick way to avoid DockerHub rate limits.


Need further help with this? Feel free to send a message.