Accelerating Docker Pull or Docker-compose Pulling Images - GitHub Source
Augmenting Speed for GitHub Docker Sources
Downloading zlib (from GitHub) is quite laborious, as the speed is exceptionally slow.
I came across a remarkable article: Speeding up Docker Pull
Its Purpose
To accelerate GitHub’s docker sources, for instance:
ghcr.io/zlib-searcher/zlib-searcher:latest
ghcr.io/puzzithinker/zlib-searcher:master
How to Use
- Configuring http-proxy.conf
1 | mkdir -p /etc/systemd/system/docker.service.d |
- Configuring https-proxy.conf
1 | vim /etc/systemd/system/docker.service.d/https-proxy.conf |
Restarting the Service
1
2sudo systemctl daemon-reload
sudo systemctl restart dockerMonitoring to Ensure the Proxy Settings are Operative
Related Content
Source of Inspiration
https://zu1k.com/posts/coding/speedup-docker-pull/#Setting-up-a-proxy-for-docker
If the Docker repository for the image source is deleted
1 | You will need to save the Docker image as a tar file: |