Browse code

Add docs for `run|create --init|--init-path`

Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit d049ef2b0db4aebfba4f85f5d8294e9884a4b7e2)
Signed-off-by: Victor Vieux <vieux@docker.com>

Harald Albers authored on 2017/01/20 01:47:01
Showing 3 changed files
... ...
@@ -63,6 +63,8 @@ Options:
63 63
       --health-timeout duration     Maximum time to allow one check to run (ns|us|ms|s|m|h) (default 0s)
64 64
       --help                        Print usage
65 65
   -h, --hostname string             Container host name
66
+      --init                        Run an init inside the container that forwards signals and reaps processes
67
+      --init-path string            Path to the docker-init binary
66 68
   -i, --interactive                 Keep STDIN open even if not attached
67 69
       --io-maxbandwidth string      Maximum IO bandwidth limit for the system drive (Windows only)
68 70
       --io-maxiops uint             Maximum IOps limit for the system drive (Windows only)
... ...
@@ -67,6 +67,8 @@ Options:
67 67
       --health-timeout duration     Maximum time to allow one check to run (ns|us|ms|s|m|h) (default 0s)
68 68
       --help                        Print usage
69 69
   -h, --hostname string             Container host name
70
+      --init                        Run an init inside the container that forwards signals and reaps processes
71
+      --init-path string            Path to the docker-init binary
70 72
   -i, --interactive                 Keep STDIN open even if not attached
71 73
       --io-maxbandwidth string      Maximum IO bandwidth limit for the system drive (Windows only)
72 74
                                     (Windows only). The format is `<number><unit>`.
... ...
@@ -41,6 +41,8 @@ docker-run - Run a command in a new container
41 41
 [**--group-add**[=*[]*]]
42 42
 [**-h**|**--hostname**[=*HOSTNAME*]]
43 43
 [**--help**]
44
+[**--init**]
45
+[**--init-path**[=*[]*]]
44 46
 [**-i**|**--interactive**]
45 47
 [**--ip**[=*IPv4-ADDRESS*]]
46 48
 [**--ip6**[=*IPv6-ADDRESS*]]
... ...
@@ -309,7 +311,13 @@ redirection on the host system.
309 309
    Sets the container host name that is available inside the container.
310 310
 
311 311
 **--help**
312
-  Print usage statement
312
+   Print usage statement
313
+
314
+**--init**
315
+   Run an init inside the container that forwards signals and reaps processes
316
+
317
+**--init-path**=""
318
+   Path to the docker-init binary
313 319
 
314 320
 **-i**, **--interactive**=*true*|*false*
315 321
    Keep STDIN open even if not attached. The default is *false*.