summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-09-02 09:25:36 +0200
committerPaul Holzinger <pholzing@redhat.com>2021-09-07 10:24:10 +0200
commit3d02cfb5e05e14050f47ee446d3ed23d0948b90c (patch)
tree433afc0c842c0ec6ce838c02a71fdad9fc53c80b /docs/source
parent4207d959a68c1ee2b805b7113838580c14f4bbc6 (diff)
downloadpodman-3d02cfb5e05e14050f47ee446d3ed23d0948b90c.tar.gz
podman-3d02cfb5e05e14050f47ee446d3ed23d0948b90c.tar.bz2
podman-3d02cfb5e05e14050f47ee446d3ed23d0948b90c.zip
network create: add warning for deprecated macvlan flag
The macvlan driver is not deprecated, only the --macvlan flag is. Remove the flag from the man page since it is deprecated and add a warning to podman network create if it is used. [NO TESTS NEEDED] Fixes #11400 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/markdown/podman-network-create.1.md10
1 files changed, 2 insertions, 8 deletions
diff --git a/docs/source/markdown/podman-network-create.1.md b/docs/source/markdown/podman-network-create.1.md
index d110c4ceb..04290c188 100644
--- a/docs/source/markdown/podman-network-create.1.md
+++ b/docs/source/markdown/podman-network-create.1.md
@@ -25,7 +25,8 @@ resolution.
#### **--driver**, **-d**
-Driver to manage the network (default "bridge"). Currently only `bridge` is supported.
+Driver to manage the network. Currently `bridge` and `macvlan` is supported. Defaults to `bridge`.
+As rootless the `macvlan` driver has no access to the host network interfaces because rootless networking requires a separate network namespace.
#### **--opt**=*option*, **-o**
@@ -54,13 +55,6 @@ must be used with a *subnet* option.
Set metadata for a network (e.g., --label mykey=value).
-#### **--macvlan**
-
-*This option is being deprecated*
-
-Create a *Macvlan* based connection rather than a classic bridge. You must pass an interface name from the host for the
-Macvlan connection.
-
#### **--subnet**
The subnet in CIDR notation.