diff --git a/doc/source/admin/image-building.rst b/doc/source/admin/image-building.rst index a0b756c8c7..23cc76445a 100644 --- a/doc/source/admin/image-building.rst +++ b/doc/source/admin/image-building.rst @@ -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 `. diff --git a/tools/start-registry b/tools/start-registry index 7c29e13a12..9a72dc9e05 100755 --- a/tools/start-registry +++ b/tools/start-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