Merge pull request #18917 from Luap99/ip-range

network create --ip-range allow for custom range
This commit is contained in:
OpenShift Merge Robot
2023-06-19 15:02:48 -04:00
committed by GitHub
4 changed files with 60 additions and 3 deletions

View File

@ -66,8 +66,9 @@ Restrict external access of this network. Note when using this option, the dnsna
#### **--ip-range**=*range*
Allocate container IP from a range. The range must be a complete subnet and in CIDR notation. The *ip-range* option
must be used with a *subnet* option. Can be specified multiple times.
Allocate container IP from a range. The range must be a either a complete subnet in CIDR notation or be in
the `<startIP>-<endIP>` syntax which allows for a more flexible range compared to the CIDR subnet.
The *ip-range* option 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*

View File

@ -680,7 +680,9 @@ This is equivalent to the Podman `--ipam-driver` option
### `IPRange=`
Allocate container IP from a range. The range must be a complete subnet and in CIDR notation. The ip-range option must be used with a subnet option.
Allocate container IP from a range. The range must be a either a complete subnet in CIDR notation or be
in the `<startIP>-<endIP>` syntax which allows for a more flexible range compared to the CIDR subnet.
The ip-range option must be used with a subnet option.
This is equivalent to the Podman `--ip-range` option