mirror of
https://github.com/containers/podman.git
synced 2025-06-03 20:33:20 +08:00
Merge pull request #18917 from Luap99/ip-range
network create --ip-range allow for custom range
This commit is contained in:
@ -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*
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user