Skip to content

Commit

Permalink
Merge pull request #1459 from vyos/mergify/bp/sagitta/pr-1457
Browse files Browse the repository at this point in the history
T6358: add documentation for container host pid (backport #1457)
  • Loading branch information
c-po authored May 18, 2024
2 parents e71ea0c + 9d72615 commit ef4c3c7
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 ef4c3c7

Please sign in to comment.