Update man page for `docker create` to add `--rm` flag

The `--rm` flag has been part of the `docker create` and
related docs in `docs/reference/commandline/create.md`
already includes the `--rm` flag. However, man page
`man/docker-create.1.md` has not adds the `--rm` flag yet.

This fix adds the description of `--rm` flag to
`man/docker-create.1.md`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2016-09-05 08:38:32 -07:00 committed by Tibor Vass
parent be3bfbec55
commit 3f171a31b1
1 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,7 @@ docker-create - Create a new container
[**--privileged**] [**--privileged**]
[**--read-only**] [**--read-only**]
[**--restart**[=*RESTART*]] [**--restart**[=*RESTART*]]
[**--rm**]
[**--security-opt**[=*[]*]] [**--security-opt**[=*[]*]]
[**--storage-opt**[=*[]*]] [**--storage-opt**[=*[]*]]
[**--stop-signal**[=*SIGNAL*]] [**--stop-signal**[=*SIGNAL*]]
@ -317,6 +318,9 @@ unit, `b` is used. Set LIMIT to `-1` to enable unlimited swap.
**--restart**="*no*" **--restart**="*no*"
Restart policy to apply when a container exits (no, on-failure[:max-retry], always, unless-stopped). Restart policy to apply when a container exits (no, on-failure[:max-retry], always, unless-stopped).
**--rm**=*true*|*false*
Automatically remove the container when it exits. The default is *false*.
**--shm-size**="" **--shm-size**=""
Size of `/dev/shm`. The format is `<number><unit>`. `number` must be greater than `0`. Size of `/dev/shm`. The format is `<number><unit>`. `number` must be greater than `0`.
Unit is optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes), or `g` (gigabytes). If you omit the unit, the system uses bytes. Unit is optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes), or `g` (gigabytes). If you omit the unit, the system uses bytes.