Browse code

Update docs for `docker create` to include `--rm` flag

Since 20848 has been merged and both `docker create` and
`docker run` share the same `runconfig` parser, now both
`docker run` and `docker create` allow to specify the
`--rm` flag. However, docs for `docker create` has not
been udpated yet.

This fix updates docs for `docker create` so that `--rm`
flag has been included.

This fix is related to 20848 and 25577.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

Yong Tang authored on 2016/08/26 14:05:38
Showing 1 changed files
... ...
@@ -90,6 +90,7 @@ Options:
90 90
       --read-only                   Mount the container's root filesystem as read only
91 91
       --restart string              Restart policy to apply when a container exits (default "no")
92 92
                                     Possible values are: no, on-failure[:max-retry], always, unless-stopped
93
+      --rm                          Automatically remove the container when it exits
93 94
       --runtime string              Runtime to use for this container
94 95
       --security-opt value          Security Options (default [])
95 96
       --shm-size string             Size of /dev/shm, default value is 64MB.