🚧 This instance is under construction; expect occasional downtime. Runners available in /repos. Questions? Ask in #wikimedia-gitlab on libera.chat, or under GitLab on Phabricator.

Commit a70793f4 authored by Addshore's avatar Addshore 🏄
Browse files

Update README.md, use a docker registry mirror on the CI runner...

parent 4f2538be
......@@ -88,3 +88,30 @@ You should see:
Registry Mirrors:
### Create and register a custom docker mirror
Mainly from https://about.gitlab.com/blog/2020/10/30/mitigating-the-impact-of-docker-hub-pull-requests-limits/
Create a mirror (using docker):
sudo docker run -d -p 6000:5000 \
-e REGISTRY_PROXY_REMOTEURL=https://registry-1.docker.io \
--restart always \
--name registry registry:2
Get the IP address:
hostname --ip-address
Add the mirror:
sudo service docker stop
sudo echo '{"registry-mirrors": [""]}' > /etc/docker/daemon.json
sudo service docker restart
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment