Docker Hub Rate Limiting

How to work around Docker Hub rate limiting

This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see docs.replicated.com.

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. Docker Pro and Docker Team accounts continue to have unlimited access to pull container images from Docker Hub.

For more information on rate limits, see this article from Docker.

Replicated can be configured to authenticate when pulling images to avoid rate limits. These credentials are only used to increase limits and do not need access to any private repositories on Docker Hub.

The properties DockerHubUsername and DockerHubPassword can be set using the following replicatedctl commands:

replicatedctl params set DockerHubUsername --value solomonhykes
replicatedctl params set DockerHubPassword --value passw0rd1

NOTE: This document pertains to Replicated version 2.51.0 or greater. Replicated must be first manually upgraded a supported version. To manually upgrade, first docker login and follow the steps in this guide.