Merge "Change port of docker registry"

This commit is contained in:
Zuul 2019-07-05 09:17:19 +00:00 committed by Gerrit Code Review
commit c4c91e4fe8
2 changed files with 3 additions and 3 deletions

View File

@ -154,7 +154,7 @@ To push images to a :kolla-ansible-doc:`local registry
.. code-block:: console
kolla-build --registry 172.22.2.81:5000 --push
kolla-build --registry 172.22.2.81:4000 --push
Build OpenStack from source
===========================
@ -531,7 +531,7 @@ Kolla-ansible with Local Registry
---------------------------------
To make kolla-ansible pull images from a local registry, set
``"docker_registry"`` to ``"172.22.2.81:5000"`` in
``"docker_registry"`` to ``"172.22.2.81:4000"`` in
``"/etc/kolla/globals.yml"``. Make sure Docker is allowed to pull images from
insecure registry. See :kolla-ansible-doc:`Docker Insecure Registry
<user/multinode.html#deploy-a-registry>`.

View File

@ -3,6 +3,6 @@
docker run -d \
--name registry \
--restart=always \
-p 5000:5000 \
-p 4000:5000 \
-v registry:/var/lib/registry \
registry:2