diff options
author | Matthew Heon <mheon@redhat.com> | 2020-12-03 14:21:35 -0500 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-12-04 13:53:52 -0500 |
commit | ee738ab11aa131b56162f0c56e06da10c9f37d96 (patch) | |
tree | fb6d677a6aeb2d6d770685a537b72b65ddffdc58 /docs/source | |
parent | 350f0f0e9a5fc478d84ded179d9a8e605c4cd821 (diff) | |
download | podman-ee738ab11aa131b56162f0c56e06da10c9f37d96.tar.gz podman-ee738ab11aa131b56162f0c56e06da10c9f37d96.tar.bz2 podman-ee738ab11aa131b56162f0c56e06da10c9f37d96.zip |
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>
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/markdown/podman-build.1.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-build.1.md b/docs/source/markdown/podman-build.1.md index 4570bf3ff..07c0abcb0 100644 --- a/docs/source/markdown/podman-build.1.md +++ b/docs/source/markdown/podman-build.1.md @@ -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** |