mirror of https://github.com/containers/podman.git
Merge pull request #26263 from tangentsoft/network-host-doc-warning
Clarified the consequences of --network=host
This commit is contained in:
commit
98e6d857d1
|
@ -27,7 +27,7 @@ Valid _mode_ values are:
|
|||
|
||||
- **container:**_id_: Reuse another container's network stack.
|
||||
|
||||
- **host**: Do not create a network namespace, the container uses the host's network. Note: The host mode gives the container full access to local system services such as D-bus and is therefore considered insecure.
|
||||
- **host**: Use the host's network namespace for the container instead of creating an isolated namespace. Warning: This gives the container full access to abstract Unix domain sockets and to TCP/UDP sockets bound to localhost. Since these mechanisms are often used to prevent access to sensitive system services, isolating them from access by external entities, use of this option may be considered a security vulnerability.
|
||||
|
||||
- **ns:**_path_: Path to a network namespace to join.
|
||||
|
||||
|
|
Loading…
Reference in New Issue