Why does the system return the error reached your pull rate limit
?
When pulling images using CI, you may be prompted with the error reached your pull rate limit
, as shown below:
This occurs when users with the trial version of Docker Hub reach their image pull limit, due to the CODING egress IP address reaching the Docker Hub pull limit. Use one of the two methods below to solve this problem:
Use your personal Docker Hub account.
If you don't have a Docker Hub account, you can sign up. After signing up for an account, modify the build plan configuration by adding this line and entering the account before executing commands in Docker.
docker login -u <dockerhub username> -p <dockerhub password>
username=$(docker info | sed '/Username:/!d;s/.* //');
echo $username
During execution, you can view the current Docker Hub account in the log. An account that has not reached its pull limit will not have this problem.
Was this page helpful?