mirror of
https://github.com/containers/podman.git
synced 2025-10-19 20:23:08 +08:00
The --net=container flag to Buildah is deprecated
It's very confusing that `podman run --net=container` joins the network namespace of another container - but `podman build --net=container` creates a private network namespace. We've standardized on `--net=private` for this, and will eventually remove `podman build --net=container` as an alias for `--net=private`. Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
@ -412,7 +412,9 @@ Valid _mode_ values are:
|
||||
container full access to local system services such as D-bus and is therefore
|
||||
considered insecure.
|
||||
- **ns:**_path_: path to a network namespace to join.
|
||||
- **private**: create a new namespace for the container (default).
|
||||
- **private**: create a new namespace for the container (default). The
|
||||
**container** network mode is an alias for **private**, but has been deprecated
|
||||
and will be removed in a future release of Podman.
|
||||
|
||||
#### **--no-cache**
|
||||
|
||||
|
Reference in New Issue
Block a user