summaryrefslogtreecommitdiff
path: root/docs/configuration/container/index.rst
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-17 15:36:14 +0200
committerGitHub <noreply@github.com>2024-05-17 15:36:14 +0200
commita6bab8c022e7a7f58d13a899efe5d28362e81ffe (patch)
tree7b474b8298cc44984443f9976c36c2e10569efc3 /docs/configuration/container/index.rst
parentb5d3fe3b3609ed0af6a187a7efafaf2328f61636 (diff)
parentf96fa5dd08ab5d3bd3438ebf2c7704abd5df28ae (diff)
downloadvyos-documentation-a6bab8c022e7a7f58d13a899efe5d28362e81ffe.tar.gz
vyos-documentation-a6bab8c022e7a7f58d13a899efe5d28362e81ffe.zip
Merge pull request #1457 from nvollmar/T6358
T6358: add documentation for container host pid
Diffstat (limited to 'docs/configuration/container/index.rst')
-rw-r--r--docs/configuration/container/index.rst11
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**