mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Merge pull request #1457 from nvollmar/T6358
T6358: add documentation for container host pid
This commit is contained in:
commit
a6bab8c022
@ -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**
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user