diff options
author | Nicolas Vollmar <nvo@scaling.ch> | 2024-05-17 10:31:47 +0200 |
---|---|---|
committer | Nicolas Vollmar <nvo@scaling.ch> | 2024-05-17 10:34:45 +0200 |
commit | f96fa5dd08ab5d3bd3438ebf2c7704abd5df28ae (patch) | |
tree | 7b474b8298cc44984443f9976c36c2e10569efc3 /docs/configuration/container | |
parent | b5d3fe3b3609ed0af6a187a7efafaf2328f61636 (diff) | |
download | vyos-documentation-f96fa5dd08ab5d3bd3438ebf2c7704abd5df28ae.tar.gz vyos-documentation-f96fa5dd08ab5d3bd3438ebf2c7704abd5df28ae.zip |
T6358: add documentation for container host pid
Diffstat (limited to 'docs/configuration/container')
-rw-r--r-- | docs/configuration/container/index.rst | 11 |
1 files changed, 9 insertions, 2 deletions
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 <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 <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** |