Merge "Configure local registries to proxy docker hub"

This commit is contained in:
Jenkins 2017-01-11 13:54:31 +00:00 committed by Gerrit Code Review
commit 302658210e
2 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,10 @@ Configure Docker on all nodes
.. note:: As the subtitle for this section implies, these steps should be .. note:: As the subtitle for this section implies, these steps should be
applied to all nodes, not just the deployment node. applied to all nodes, not just the deployment node.
The ``start-registry`` script configures a docker registry that proxies Kolla
images from Docker Hub, and can also be used with custom built images (see
:doc:`image-building`).
After starting the registry, it is necessary to instruct Docker that it will After starting the registry, it is necessary to instruct Docker that it will
be communicating with an insecure registry. To enable insecure registry be communicating with an insecure registry. To enable insecure registry
communication on CentOS, modify the ``/etc/sysconfig/docker`` file to contain communication on CentOS, modify the ``/etc/sysconfig/docker`` file to contain

View File

@ -5,4 +5,5 @@ docker run -d \
--restart=always \ --restart=always \
-p 5000:5000 \ -p 5000:5000 \
-v registry:/var/lib/registry \ -v registry:/var/lib/registry \
-e REGISTRY_PROXY_REMOTEURL=https://registry-1.docker.io \
registry:2 registry:2