summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-18 07:46:28 +0200
committerGitHub <noreply@github.com>2024-05-18 07:46:28 +0200
commitef4c3c70a14ee9eeb9f032184458a087d5bef1a2 (patch)
tree2880c281005acf7a12c5ef9903b668e18874ae09 /docs
parente71ea0c1b15ad8700dcaa03cb2d25e3f87cc07cf (diff)
parent9d72615c6675aee7c74809d5b8a59db402bf06ed (diff)
downloadvyos-documentation-ef4c3c70a14ee9eeb9f032184458a087d5bef1a2.tar.gz
vyos-documentation-ef4c3c70a14ee9eeb9f032184458a087d5bef1a2.zip
Merge pull request #1459 from vyos/mergify/bp/sagitta/pr-1457
T6358: add documentation for container host pid (backport #1457)
Diffstat (limited to 'docs')
-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**