From 9d72615c6675aee7c74809d5b8a59db402bf06ed Mon Sep 17 00:00:00 2001 From: Nicolas Vollmar Date: Fri, 17 May 2024 10:31:47 +0200 Subject: T6358: add documentation for container host pid (cherry picked from commit f96fa5dd08ab5d3bd3438ebf2c7704abd5df28ae) --- docs/configuration/container/index.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'docs/configuration/container/index.rst') diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst index 2f668324..4dacc6f4 100644 --- a/docs/configuration/container/index.rst +++ b/docs/configuration/container/index.rst @@ -44,13 +44,20 @@ Configuration Set the host name for a container. +.. cfgcmd:: set container name allow-host-pid + + The container and the host share the same process namespace. + This means that processes running on the host are visible inside the + container, and processes inside the container are visible on the host. + + The command translates to "--pid host" when the container is created. + .. cfgcmd:: set container name allow-host-networks Allow host networking in a container. The network stack of the container is not isolated from the host and will use the host IP. - The following commands translate to "--net host" when the container - is created + The command translates to "--net host" when the container is created. .. note:: **allow-host-networks** cannot be used with **network** -- cgit v1.2.3