DEV Community

Chillar Anand
Chillar Anand

Posted on • Originally published at avilpage.com on

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

Enter fullscreen mode Exit fullscreen mode

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

FROM public.ecr.aws/ubuntu/ubuntu

Enter fullscreen mode Exit fullscreen mode

That is a quick way to avoid DockerHub rate limits.


  1. DockerHub Limits

  2. AWS ECR Public Gallery

Top comments (0)