Merge pull request #1457 from nvollmar/T6358

T6358: add documentation for container host pid
This commit is contained in:
Christian Breunig 2024-05-17 15:36:14 +02:00 committed by GitHub
commit a6bab8c022
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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**