Skip to content

Commit

Permalink
Merge pull request #1457 from nvollmar/T6358
Browse files Browse the repository at this point in the history
T6358: add documentation for container host pid
  • Loading branch information
c-po committed May 17, 2024
2 parents b5d3fe3 + f96fa5d commit a6bab8c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/configuration/container/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down

0 comments on commit a6bab8c

Please sign in to comment.