summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorClayton Craft <clayton@craftyguy.net>2022-03-15 11:53:04 -0700
committerClayton Craft <clayton@craftyguy.net>2022-03-15 13:08:24 -0700
commit29f24ff68ea50b1295d335af18bbf7a88847aa44 (patch)
treee57e3e9ef197817e93b1850debed04770531d0c6 /docs/source
parent4e2334c1493a03dc26b89cb00b321b268c3ca9ea (diff)
downloadpodman-29f24ff68ea50b1295d335af18bbf7a88847aa44.tar.gz
podman-29f24ff68ea50b1295d335af18bbf7a88847aa44.tar.bz2
podman-29f24ff68ea50b1295d335af18bbf7a88847aa44.zip
[CI:DOCS]: Mention netavark limitations for macvlan/ipvlan drivers
The example is also improved to add the --subnet option, this option is required with netavark, else you get: Error: macvlan driver needs at least one subnet specified, DHCP is not supported with netavark Signed-off-by: Clayton Craft <clayton@craftyguy.net>
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/markdown/podman-network-create.1.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-network-create.1.md b/docs/source/markdown/podman-network-create.1.md
index 357a06cea..5a3224501 100644
--- a/docs/source/markdown/podman-network-create.1.md
+++ b/docs/source/markdown/podman-network-create.1.md
@@ -28,6 +28,10 @@ resolution.
Driver to manage the network. Currently `bridge`, `macvlan` and `ipvlan` are supported. Defaults to `bridge`.
As rootless the `macvlan` and `ipvlan` driver have no access to the host network interfaces because rootless networking requires a separate network namespace.
+Special considerations for the *netavark* backend:
+- The `macvlan` driver requires the `--subnet` option, DHCP is currently not supported.
+- The `ipvlan` driver is not currently supported.
+
#### **--opt**=*option*, **-o**
Set driver specific options.
@@ -114,7 +118,7 @@ podman4
Create a Macvlan based network using the host interface eth0. Macvlan networks can only be used as root.
```
-# podman network create -d macvlan -o parent=eth0 newnet
+# podman network create -d macvlan -o parent=eth0 --subnet 192.5.0.0/16 newnet
newnet
```