Docker api rate limit, image or layer?

Hi There,

this question is in regard to docker api rate limit.

It says in the documentation that there is 100 image pulls per unauthorised user.

my question: is this 100 actual images or does it count the layers/blobs?

For example, one image could have 13 layers. Does the rate limit count the layers its pulling or just that one image?

thank you!

It is for images, not layers. Actually a GET request to an image manifest counts as one pull.

1 Like

Docker’s API rate limit of 100 pulls per 6 hours (for unauthenticated users) counts each manifest request, essentially, each image pull. However, pulling the same image multiple times may reuse cached layers, but if layers are fetched individually, they also count toward the limit. So yes, layers/blobs can contribute to the limit depending on cache and request behavior.

1 Like