Fix a format issue on documentation

The indentation of the "note" admonition directive in
private_registry.rst is wrong.

Change-Id: Id3056d9e08de7510378b7819be575b414c9c049c
This commit is contained in:
Hongbin Lu 2019-01-19 19:58:59 +00:00
parent 32adf119b0
commit 82f15162fe

View File

@ -24,7 +24,7 @@ deploy it as a Zun container::
--environment REGISTRY_HTTP_TLS_KEY=/domain.key \
registry:2
.. note::
.. note::
Depending on the configuration of your tenant network, you might need
to make sure the container is accessible from other tenants of your cloud.
@ -50,15 +50,15 @@ self-signed certificates::
-newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key \
-x509 -days 365 -out certs/domain.crt -config certs/domain.conf
.. note::
.. note::
Replace ``zunregistry.com`` with the domain name of your registry.
.. note::
.. note::
Replace ``172.24.4.49`` with the IP address of your registry.
.. note::
.. note::
You need to make sure the domain name (i.e. ``zunregistry.com``)
will be resolved to the IP address (i.e. ``172.24.4.49``).
@ -74,11 +74,11 @@ Configure docker daemon to accept the certificates::
# mkdir -p /etc/docker/certs.d/zunregistry.com
# cp certs/domain.crt /etc/docker/certs.d/zunregistry.com/ca.crt
.. note::
.. note::
Replace ``zunregistry.com`` with the domain name of your registry.
.. note::
.. note::
Perform this steps in every compute nodes.
@ -93,6 +93,6 @@ Verify the registry is working::
$ docker push zunregistry.com/my-ubuntu
$ openstack appcontainer run --interactive zunregistry.com/my-ubuntu /bin/bash
.. note::
.. note::
Replace ``zunregistry.com`` with the domain name of your registry.