Hi,
I’m running a runner (auto scaled docekr+machine) that hosted on my aws account.
Most of my jobs are docker inside docker so I pull lots of images.
My runners hitting docker hub pull limit from time to time.
I have tried to login into docker hub with my “pro” account inside the runner and during the job runtime, but I’m still hitting the limit.
image: docker:19.03.0-dind
services:
- docker:19.03.0-dind
stages:
- build
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: tcp://docker:2375/
.docker-login: &docker-login
before_script:
- docker login -u ${DOCKERHUB_USER} -p ${DOCKERHUB_PASS} ${DOCKERHUB_URL}
Running with gitlab-runner 13.10.0 (54944146) on aws-autoscale Y9xeV9c5 Preparing the "docker+machine" executor Using Docker executor with image docker:dind ... Pulling docker image docker:dind ... WARNING: Failed to pull image with policy "always": Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit (manager.go:205:0s) ERROR: Preparation failed: failed to pull image "docker:dind" with specified policies [always]: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit (manager.go:205:0s) Will be retried in 3s ... Using Docker executor with image docker:dind ... Pulling docker image docker:dind ... WARNING: Failed to pull image with policy "always": Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit (manager.go:205:0s) ERROR: Preparation failed: failed to pull image "docker:dind" with specified policies [always]: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit (manager.go:205:0s) Will be retried in 3s ... Using Docker executor with image docker:dind ... Pulling docker image docker:dind ... WARNING: Failed to pull image with policy "always": Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit (manager.go:205:0s) ERROR: Preparation failed: failed to pull image "docker:dind" with specified policies [always]: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit (manager.go:205:0s) Will be retried in 3s ... ERROR: Job failed (system failure): failed to pull image "docker:dind" with specified policies [always]: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit (manager.go:205:0s)