Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Limits on Docker hub for number of repositories

I am Using Docker from past a week and was creating some new repositories on Dockerhub. Is there any limit to create number of repositories on Dockerhub?

like image 932
Shahid ali Khan Avatar asked Jul 26 '17 11:07

Shahid ali Khan


People also ask

Is there any limit to create repositories on dockerhub?

I am Using Docker from past a week and was creating some new repositories on Dockerhub. Is there any limit to create number of repositories on Dockerhub? Show activity on this post. A repository can have any number of image tags. There is no stated limit for size.

What are the Docker Hub rate limits for anonymous users?

On November 20, 2020, rate limits anonymous and free authenticated use of Docker Hub went into effect. Anonymous and Free Docker Hub users are limited to 100 and 200 container image pull requests per six hours. You can read here for more detailed information. If you are affected by these changes you will receive this error message:

What is the maximum number of requests for a docker image?

This limit is set to 100, 200 requests per six hours and detected per user which is mostly IP address when the request is not authenticated. If you reach this limit, the request failed and the image can't be pulled making your docker command fail.

How to reduce the number of images pulled from Docker Hub?

This cache layer allows to reduce the number of images pulled from Docker Hub and exceed the rate limit. To pull and push images from AWS ECR, you need first to create a repository namespace on AWS ECR and configure a pull-through cache rule to the Docker Hub destination.


1 Answers

A repository can have any number of image tags. There is no stated limit for size. In practice, if an image layer gets much larger than 10 or 20 gigabytes, you may experience problems with push and pull. Your mileage may vary.

There is no limit for builds or tags for public images. (This can be changed over a period of time)

As long as you wanted to play around docker public repository will do. But, if you are looking for a private repository I would recommend hosting your own binary repository managers JFfrog or Nexus to maintain all kinds of artifacts including docker images.

Source: https://forums.docker.com/t/does-docker-hub-have-a-size-limitation-on-repos-or-images/10154

UPDATE 2

Inactive images are defined as images that have not been pulled or pushed in 6 months. Starting November 1, 2020:

  1. Free accounts may retain inactive images for up to 6 months
  2. Anonymous users will have an upper limit of 100 image pulls in a six hour period

A pull is defined as up to two GET requests to the registry URL path ‘/v2//manifests/’.

PS: It is all about the policies set by the Docker, Inc. It can change over time.

like image 145
Player_Neo Avatar answered Nov 15 '22 07:11

Player_Neo