- I would like to configure CJE to pull cje-oc and cje-mm images from a private registry. Thus, for example,
docker pull cloudbees/cje-mm:220.127.116.11it actually pulls
- CloudBees Jenkins Enterprise (CJE)
Key idea: Setting up a Registry Mirror to the private registry.
At the moment of writing this article (
CJE CLI 1.9.0) the procedure needs your cluster is up and running and then:
Add the following to
docker_options tags for
[controller] as well as
docker_options = --log-driver=syslog --registry-mirror=http://<my-docker-mirror-host>
cje prepare worker-restart
Then, go to
config and add each of the worker names (separated by comma).
[server] ## The name of the servers to restart # names = worker-1,worker-2,...,worker-N