Add IPAM Config Options to match libnetwork

Signed-off-by: Ryan Belgrave <rmb1993@gmail.com>
This commit is contained in:
Ryan Belgrave 2015-10-23 15:28:39 -04:00 committed by Tibor Vass
parent 46db31de0a
commit 82e9cba6d4
2 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,7 @@ parent = "smn_cli"
--ip-range=[] Allocate container ip from a sub-range --ip-range=[] Allocate container ip from a sub-range
--ipam-driver=default IP Address Management Driver --ipam-driver=default IP Address Management Driver
-o --opt=map[] Set custom network plugin options -o --opt=map[] Set custom network plugin options
--ipam-opt=map[] Set custom IPAM plugin options
--subnet=[] Subnet in CIDR format that represents a network segment --subnet=[] Subnet in CIDR format that represents a network segment
Creates a new network. The `DRIVER` accepts `bridge` or `overlay` which are the Creates a new network. The `DRIVER` accepts `bridge` or `overlay` which are the

View File

@ -13,6 +13,7 @@ docker-network-create - create a new network
[**--internal**] [**--internal**]
[**--ip-range**=*[]*] [**--ip-range**=*[]*]
[**--ipam-driver**=*default*] [**--ipam-driver**=*default*]
[**--ipam-opt**=*map[]*]
[**-o**|**--opt**=*map[]*] [**-o**|**--opt**=*map[]*]
[**--subnet**=*[]*] [**--subnet**=*[]*]
NETWORK-NAME NETWORK-NAME
@ -148,6 +149,9 @@ If you want to create an externally isolated `overlay` network, you can specify
**--ipam-driver**=*default* **--ipam-driver**=*default*
IP Address Management Driver IP Address Management Driver
**--ipam-opt**=map[]
Set custom IPAM plugin options
**-o**, **--opt**=map[] **-o**, **--opt**=map[]
Set custom network plugin options Set custom network plugin options