docs for labels on build, networks and volumes

Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 995e5beda7)
This commit is contained in:
Harald Albers 2016-03-25 11:16:19 -07:00 committed by Tibor Vass
parent 0c598f34b6
commit e6629d4c10
6 changed files with 15 additions and 0 deletions

View File

@ -26,6 +26,7 @@ parent = "smn_cli"
--force-rm Always remove intermediate containers --force-rm Always remove intermediate containers
--help Print usage --help Print usage
--isolation="" Container isolation technology --isolation="" Container isolation technology
--label=[] Set metadata for an image
-m, --memory="" Memory limit for all build containers -m, --memory="" Memory limit for all build containers
--memory-swap="" A positive integer equal to memory plus swap. Specify -1 to enable unlimited swap. --memory-swap="" A positive integer equal to memory plus swap. Specify -1 to enable unlimited swap.
--no-cache Do not use cache when building the image --no-cache Do not use cache when building the image

View File

@ -23,6 +23,7 @@ parent = "smn_cli"
--ipam-driver=default IP Address Management Driver --ipam-driver=default IP Address Management Driver
--ipam-opt=map[] Set custom IPAM driver specific options --ipam-opt=map[] Set custom IPAM driver specific options
--ipv6 Enable IPv6 networking --ipv6 Enable IPv6 networking
--label=[] Set metadata on a network
-o --opt=map[] Set custom driver specific options -o --opt=map[] Set custom driver specific options
--subnet=[] Subnet in CIDR format that represents a network segment --subnet=[] Subnet in CIDR format that represents a network segment

View File

@ -16,6 +16,7 @@ parent = "smn_cli"
-d, --driver=local Specify volume driver name -d, --driver=local Specify volume driver name
--help Print usage --help Print usage
--label=[] Set metadata for a volume
--name= Specify volume name --name= Specify volume name
-o, --opt=map[] Set driver specific options -o, --opt=map[] Set driver specific options

View File

@ -13,6 +13,7 @@ docker-build - Build a new image from the source code at PATH
[**-f**|**--file**[=*PATH/Dockerfile*]] [**-f**|**--file**[=*PATH/Dockerfile*]]
[**--force-rm**] [**--force-rm**]
[**--isolation**[=*default*]] [**--isolation**[=*default*]]
[**--label**[=*[]*]]
[**--no-cache**] [**--no-cache**]
[**--pull**] [**--pull**]
[**-q**|**--quiet**] [**-q**|**--quiet**]
@ -71,6 +72,9 @@ set as the **URL**, the repository is cloned locally and then sent as the contex
**--isolation**="*default*" **--isolation**="*default*"
Isolation specifies the type of isolation technology used by containers. Isolation specifies the type of isolation technology used by containers.
**--label**=*label*
Set metadata for an image
**--no-cache**=*true*|*false* **--no-cache**=*true*|*false*
Do not use cache when building the image. The default is *false*. Do not use cache when building the image. The default is *false*.

View File

@ -15,6 +15,7 @@ docker-network-create - create a new network
[**--ipam-driver**=*default*] [**--ipam-driver**=*default*]
[**--ipam-opt**=*map[]*] [**--ipam-opt**=*map[]*]
[**--ipv6**] [**--ipv6**]
[**--label**[=*[]*]]
[**-o**|**--opt**=*map[]*] [**-o**|**--opt**=*map[]*]
[**--subnet**=*[]*] [**--subnet**=*[]*]
NETWORK-NAME NETWORK-NAME
@ -156,6 +157,9 @@ If you want to create an externally isolated `overlay` network, you can specify
**--ipv6** **--ipv6**
Enable IPv6 networking Enable IPv6 networking
**--label**=*label*
Set metadata for a network
**-o**, **--opt**=map[] **-o**, **--opt**=map[]
Set custom driver options Set custom driver options

View File

@ -8,6 +8,7 @@ docker-volume-create - Create a new volume
**docker volume create** **docker volume create**
[**-d**|**--driver**[=*DRIVER*]] [**-d**|**--driver**[=*DRIVER*]]
[**--help**] [**--help**]
[**--label**[=*[]*]]
[**--name**[=*NAME*]] [**--name**[=*NAME*]]
[**-o**|**--opt**[=*[]*]] [**-o**|**--opt**[=*[]*]]
@ -51,6 +52,9 @@ Another example:
**--help** **--help**
Print usage statement Print usage statement
**--label**=*label*
Set metadata for a volume
**--name**="" **--name**=""
Specify volume name Specify volume name