From ee738ab11aa131b56162f0c56e06da10c9f37d96 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 3 Dec 2020 14:21:35 -0500 Subject: 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 --- docs/source/markdown/podman-build.1.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') 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** -- cgit v1.2.3-54-g00ecf