From ae1e2e680867559fb97da869086ccfcfc4cbd62d Mon Sep 17 00:00:00 2001 From: chenxing Date: Fri, 14 Jun 2019 19:10:25 +0800 Subject: doc: Start using openstackdoctheme's extlink extension This ensures we have version-specific references to other projects [1]. Note that this doesn't mean the URLs are actually valid - we need to do more work (linkcheck?) here, but it's an improvement nonetheless. [1] https://docs.openstack.org/openstackdocstheme/latest/#external-link-helper Change-Id: I7c979dacd89ebead404b751d596ba120b38f00f3 --- doc/source/admin/image-building.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'doc/source/admin') diff --git a/doc/source/admin/image-building.rst b/doc/source/admin/image-building.rst index 1f099802b..a0b756c8c 100644 --- a/doc/source/admin/image-building.rst +++ b/doc/source/admin/image-building.rst @@ -1,5 +1,3 @@ -.. _image-building: - ========================= Building Container Images ========================= @@ -151,9 +149,8 @@ repository named ``mykollarepo``: kolla-build -n mykollarepo --push -To push images to a `local registry -`_, -use ``--registry`` flag: +To push images to a :kolla-ansible-doc:`local registry +`, use ``--registry`` flag: .. code-block:: console @@ -217,6 +214,8 @@ overrides file, add the following: RUN subscription-manager register --user= \ --password= && subscription-manager attach --pool +.. _dockerfile-customisation: + Dockerfile Customisation ======================== @@ -534,9 +533,8 @@ 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 ``"/etc/kolla/globals.yml"``. Make sure Docker is allowed to pull images from -insecure registry. See -`Docker Insecure Registry -`_. +insecure registry. See :kolla-ansible-doc:`Docker Insecure Registry +`. Building behind a proxy ----------------------- -- cgit v1.2.3