Docker gradually applies limits on the pulling rate and number of pull requests to anonymous and free users of Docker Hub from November 01, 2020. Therefore, when you build images in Container Registry Personal Edition by pulling images from Docker Hub, your images may fail to be built due to the rate limits.
For more information about the limits of Docker Hub on the number of pull requests, see Download rate limit.
Impacts
If you specify a base image that resides in Docker Hub in the Dockerfile of an image to be built in Container Registry Personal Edition, the image may fail to be built due to the rate limits of Docker Hub. In this case, the following error message is returned:
toomanyrequests:You have reached your pull rate limit. You may increase the limit by authenticating and upgrading:https://www.docker.com/increase-rate-limit
Solutions
Reference a base image that resides in Container Registry in the Dockerfile.
You can synchronize a base image from Docker Hub to an image repository in Container Registry Personal Edition. Then, you can reference the base image that resides in Container Registry Personal Edition in the Dockerfile.
Build an image in Container Registry Enterprise Edition.
You can build an image in Container Registry Enterprise Edition. The Enterprise Edition is not affected by the rate limits of Docker Hub. For more information, see Use Container Registry Enterprise Edition instances to build images.