summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-network-create.1.md
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-03-29 19:10:01 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-04-11 11:09:15 +0200
commit784a13f57752caee545e2e22a8f35665befbd8bd (patch)
treeb455edaacde28d5680f38ea2f4ca70b36152921e /docs/source/markdown/podman-network-create.1.md
parent1d01815c107c91f6cfe98446d334c94a97d11080 (diff)
downloadpodman-784a13f57752caee545e2e22a8f35665befbd8bd.tar.gz
podman-784a13f57752caee545e2e22a8f35665befbd8bd.tar.bz2
podman-784a13f57752caee545e2e22a8f35665befbd8bd.zip
network create: add support for ipam-driver none
Add a new flag to set the ipam-driver. Also adds a new ipam driver none mode which only creates interfaces but does not assign addresses. Fixes #13521 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-network-create.1.md')
-rw-r--r--docs/source/markdown/podman-network-create.1.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-network-create.1.md b/docs/source/markdown/podman-network-create.1.md
index 479c36318..0cdb6fe88 100644
--- a/docs/source/markdown/podman-network-create.1.md
+++ b/docs/source/markdown/podman-network-create.1.md
@@ -49,6 +49,16 @@ Allocate container IP from a range. The range must be a complete subnet and in
must be used with a *subnet* option. Can be specified multiple times.
The argument order of the **--subnet**, **--gateway** and **--ip-range** options must match.
+#### **--ipam-driver**=*driver*
+
+Set the ipam driver (IP Address Management Driver) for the network. When unset podman will choose an
+ipam driver automatically based on the network driver. Valid values are:
+ - `host-local`: IP addresses are assigned locally.
+ - `dhcp`: IP addresses are assigned from a dhcp server on your network. This driver is not yet supported with netavark.
+ - `none`: No ip addresses are assigned to the interfaces.
+
+You can see the driver in the **podman network inspect** output under the `ipam_options` field.
+
#### **--ipv6**
Enable IPv6 (Dual Stack) networking. If not subnets are given it will allocate a ipv4 and ipv6 subnet.