Change port of docker registry
The port of docker registry is conflict with keystone. So we need to change port of docker registry. Change-Id: If15c0caf76b5406f590b05030e43d65ca14c8788 Signed-off-by: pengdake <19921207pq@gmail.com>
This commit is contained in:
parent
45ef7176ae
commit
b5c655e787
@ -157,7 +157,7 @@ use ``--registry`` flag:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. 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
|
Build OpenStack from source
|
||||||
===========================
|
===========================
|
||||||
@ -532,7 +532,7 @@ Kolla-ansible with Local Registry
|
|||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
To make kolla-ansible pull images from a local registry, set
|
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
|
``"/etc/kolla/globals.yml"``. Make sure Docker is allowed to pull images from
|
||||||
insecure registry. See
|
insecure registry. See
|
||||||
`Docker Insecure Registry
|
`Docker Insecure Registry
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
docker run -d \
|
docker run -d \
|
||||||
--name registry \
|
--name registry \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
-p 5000:5000 \
|
-p 4000:5000 \
|
||||||
-v registry:/var/lib/registry \
|
-v registry:/var/lib/registry \
|
||||||
registry:2
|
registry:2
|
||||||
|
Loading…
Reference in New Issue
Block a user