T6358: add documentation for container host pid

This commit is contained in:
Nicolas Vollmar 2024-05-17 10:31:47 +02:00
parent b5d3fe3b36
commit f96fa5dd08

View File

@ -44,13 +44,20 @@ Configuration
Set the host name for a container. 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 .. cfgcmd:: set container name <name> allow-host-networks
Allow host networking in a container. The network stack of the container is Allow host networking in a container. The network stack of the container is
not isolated from the host and will use the host IP. not isolated from the host and will use the host IP.
The following commands translate to "--net host" when the container The command translates to "--net host" when the container is created.
is created
.. note:: **allow-host-networks** cannot be used with **network** .. note:: **allow-host-networks** cannot be used with **network**