docs/doc/source/security/kubernetes/connect-to-container-registries-through-a-firewall-or-proxy.rst
Ron Stone f125a8b892 Remove spurious escapes (r8,dsR8)
This change addresses a long-standing issue in rST documentation imported from XML.
That import process added backslash escapes in front of various characters. The three
most common being '(', ')', and '_'.
These instances are removed.

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Id43a9337ffcd505ccbdf072d7b29afdb5d2c997e
2023-03-01 11:19:04 +00:00

49 lines
1.5 KiB
ReStructuredText

.. oej1591381096383
.. _connecting-to-container-registries-through-a-firewall-or-proxy:
===========================================================
Connect to Container Registries through a Firewall or Proxy
===========================================================
You can use service parameters to connect to container registries that are
otherwise inaccessible behind a firewall or proxy.
.. rubric:: |proc|
#. Do one of the following to allow access to a specified URL.
- To allow access over HTTP:
.. code-block:: none
~(keystone_user)$ system service-parameter-modify platform docker http_proxy http://<my.proxy.com>:1080
~(keystone_user)$ system service-parameter-apply platform
- To allow access over HTTPS:
.. code-block:: none
~(keystone_user)$ system service-parameter-modify platform docker https_proxy https://<my.proxy.com>:1443
~(keystone_user)$ system service-parameter-apply platform
Substitute the correct value for <my.proxy.com>.
#. If you access registries that are not on the other side of the
firewall/proxy, you can specify their IP addresses in the no_proxy service
parameter as a comma separated list.
.. note::
Addresses must not be in subnet format and cannot contain wildcards.
For example:
.. code-block:: none
~(keystone_user)$ system service-parameter-modify platform docker no_proxy: 1.2.3.4, 5.6.7.8
~(keystone_user)$ system service-parameter-apply platform