Merge "Change port of docker registry"
This commit is contained in:
commit
c4c91e4fe8
@ -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>`.
|
||||
|
@ -3,6 +3,6 @@
|
||||
docker run -d \
|
||||
--name registry \
|
||||
--restart=always \
|
||||
-p 5000:5000 \
|
||||
-p 4000:5000 \
|
||||
-v registry:/var/lib/registry \
|
||||
registry:2
|
||||
|
Loading…
Reference in New Issue
Block a user