Docker Hub: You have reached your pull rate limit

I don’t know about the Travis team working on it or not… but I lately also ran into this issue. And found a simple workaround - just switch over to another registry mirror like https://mirror.gcr.io. To do that, add the following to your .travis.yml:

before_install:
  - echo 'DOCKER_OPTS="$DOCKER_OPTS --registry-mirror=https://mirror.gcr.io"'
  - sudo service docker restart

I have a full example here: travis-ci-docker-mirror/.travis.yml at main · jonashackt/travis-ci-docker-mirror · GitHub Hope that helps you until Travis and Docker prepared a solution.

3 Likes