Configure Google's caching Docker Hub mirror - jlelse's Blog

submited by
Style Pass
2021-07-12 16:00:13

I wanted to have a new image built for GoBlog in my Drone CI. But it failed to download the required Docker image due to timeouts. By default, Docker Hub is used there. However, Docker Hub has availability issues from time to time and recently introduced more limitations.

One solution is to use Google’s caching Docker Hub mirror. To do this, simply add the following configuration to /etc/docker/daemon.json and reboot or restart the daemon:{ "registry-mirrors": ["https://mirror.gcr.io"] }

Leave a Comment