From 82e9cba6d40ddecee82eeb02d7d54bb1c40e118f Mon Sep 17 00:00:00 2001 From: Ryan Belgrave Date: Fri, 23 Oct 2015 15:28:39 -0400 Subject: [PATCH] Add IPAM Config Options to match libnetwork Signed-off-by: Ryan Belgrave --- docs/reference/commandline/network_create.md | 1 + man/docker-network-create.1.md | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/docs/reference/commandline/network_create.md b/docs/reference/commandline/network_create.md index 3a9705b65d..a1bfdf51f7 100644 --- a/docs/reference/commandline/network_create.md +++ b/docs/reference/commandline/network_create.md @@ -22,6 +22,7 @@ parent = "smn_cli" --ip-range=[] Allocate container ip from a sub-range --ipam-driver=default IP Address Management Driver -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 Creates a new network. The `DRIVER` accepts `bridge` or `overlay` which are the diff --git a/man/docker-network-create.1.md b/man/docker-network-create.1.md index 1c876d6b24..c560f7a5f3 100644 --- a/man/docker-network-create.1.md +++ b/man/docker-network-create.1.md @@ -13,6 +13,7 @@ docker-network-create - create a new network [**--internal**] [**--ip-range**=*[]*] [**--ipam-driver**=*default*] +[**--ipam-opt**=*map[]*] [**-o**|**--opt**=*map[]*] [**--subnet**=*[]*] NETWORK-NAME @@ -148,6 +149,9 @@ If you want to create an externally isolated `overlay` network, you can specify **--ipam-driver**=*default* IP Address Management Driver +**--ipam-opt**=map[] + Set custom IPAM plugin options + **-o**, **--opt**=map[] Set custom network plugin options