Browse code

docs for labels on build, networks and volumes

Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 995e5beda74b99dfc920f6a79aee977ff5a15a72)

Harald Albers authored on 2016/03/26 03:16:19
Showing 6 changed files
... ...
@@ -26,6 +26,7 @@ parent = "smn_cli"
26 26
       --force-rm                      Always remove intermediate containers
27 27
       --help                          Print usage
28 28
       --isolation=""                  Container isolation technology
29
+      --label=[]                      Set metadata for an image
29 30
       -m, --memory=""                 Memory limit for all build containers
30 31
       --memory-swap=""                A positive integer equal to memory plus swap. Specify -1 to enable unlimited swap.
31 32
       --no-cache                      Do not use cache when building the image
... ...
@@ -23,6 +23,7 @@ parent = "smn_cli"
23 23
     --ipam-driver=default    IP Address Management Driver
24 24
     --ipam-opt=map[]         Set custom IPAM driver specific options
25 25
     --ipv6                   Enable IPv6 networking
26
+    --label=[]               Set metadata on a network
26 27
     -o --opt=map[]           Set custom driver specific options
27 28
     --subnet=[]              Subnet in CIDR format that represents a network segment
28 29
 
... ...
@@ -16,6 +16,7 @@ parent = "smn_cli"
16 16
 
17 17
       -d, --driver=local    Specify volume driver name
18 18
       --help                Print usage
19
+      --label=[]            Set metadata for a volume
19 20
       --name=               Specify volume name
20 21
       -o, --opt=map[]       Set driver specific options
21 22
 
... ...
@@ -13,6 +13,7 @@ docker-build - Build a new image from the source code at PATH
13 13
 [**-f**|**--file**[=*PATH/Dockerfile*]]
14 14
 [**--force-rm**]
15 15
 [**--isolation**[=*default*]]
16
+[**--label**[=*[]*]]
16 17
 [**--no-cache**]
17 18
 [**--pull**]
18 19
 [**-q**|**--quiet**]
... ...
@@ -71,6 +72,9 @@ set as the **URL**, the repository is cloned locally and then sent as the contex
71 71
 **--isolation**="*default*"
72 72
    Isolation specifies the type of isolation technology used by containers. 
73 73
 
74
+**--label**=*label*
75
+   Set metadata for an image
76
+
74 77
 **--no-cache**=*true*|*false*
75 78
    Do not use cache when building the image. The default is *false*.
76 79
 
... ...
@@ -15,6 +15,7 @@ docker-network-create - create a new network
15 15
 [**--ipam-driver**=*default*]
16 16
 [**--ipam-opt**=*map[]*]
17 17
 [**--ipv6**]
18
+[**--label**[=*[]*]]
18 19
 [**-o**|**--opt**=*map[]*]
19 20
 [**--subnet**=*[]*]
20 21
 NETWORK-NAME
... ...
@@ -156,6 +157,9 @@ If you want to create an externally isolated `overlay` network, you can specify
156 156
 **--ipv6**
157 157
   Enable IPv6 networking
158 158
 
159
+**--label**=*label*
160
+   Set metadata for a network
161
+
159 162
 **-o**, **--opt**=map[]
160 163
   Set custom driver options
161 164
 
... ...
@@ -8,6 +8,7 @@ docker-volume-create - Create a new volume
8 8
 **docker volume create**
9 9
 [**-d**|**--driver**[=*DRIVER*]]
10 10
 [**--help**]
11
+[**--label**[=*[]*]]
11 12
 [**--name**[=*NAME*]]
12 13
 [**-o**|**--opt**[=*[]*]]
13 14
 
... ...
@@ -51,6 +52,9 @@ Another example:
51 51
 **--help**
52 52
   Print usage statement
53 53
 
54
+**--label**=*label*
55
+   Set metadata for a volume
56
+
54 57
 **--name**=""
55 58
   Specify volume name
56 59