Skip to content

Commit 9d72615

Browse files
nvollmarmergify[bot]
authored andcommitted
T6358: add documentation for container host pid
(cherry picked from commit f96fa5d)
1 parent e71ea0c commit 9d72615

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/configuration/container/index.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,20 @@ Configuration
4444

4545
Set the host name for a container.
4646

47+
.. cfgcmd:: set container name <name> allow-host-pid
48+
49+
The container and the host share the same process namespace.
50+
This means that processes running on the host are visible inside the
51+
container, and processes inside the container are visible on the host.
52+
53+
The command translates to "--pid host" when the container is created.
54+
4755
.. cfgcmd:: set container name <name> allow-host-networks
4856

4957
Allow host networking in a container. The network stack of the container is
5058
not isolated from the host and will use the host IP.
5159

52-
The following commands translate to "--net host" when the container
53-
is created
60+
The command translates to "--net host" when the container is created.
5461

5562
.. note:: **allow-host-networks** cannot be used with **network**
5663

0 commit comments

Comments
 (0)