Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T6358: add documentation for container host pid (backport #1457) #1459

Merged
merged 1 commit into from
May 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading