August 2019
Beginner
608 pages
16h 7m
English
There is a convenient Docker container readily available to fulfill this role. You can start this Docker container immediately by using the following code:
docker run -d -p 6000:5000 -e REGISTRY_PROXY_REMOTEURL=https://registry-1.docker.io --name runner-registry registry:2
If you create such a registry proxy and check the log file when the runners start a job, you will find that the proxy serves the Runner by fetching and caching images:
$ docker logs registry -f172.17.0.1 - - [25/May/2019:14:28:40 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "docker/18.09.6 go/go1.10.8 git-commit/481bc77 kernel/4.14.116-boot2docker os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)"...
Read now
Unlock full access