From 44180a48e9cdef0ced94ef1aceac3fbcfc6c830a Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Fri, 26 Aug 2016 09:06:30 -0400 Subject: [PATCH] Merge pull request #26030 from yongtang/08252016-doc-docker-create-rm Update docs for `docker create` to include `--rm` flag (cherry picked from commit 91ec7fa811c7476b7c20e3b95a92ea9062d498fa) Signed-off-by: Charles Smith --- docs/reference/commandline/create.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/reference/commandline/create.md b/docs/reference/commandline/create.md index 3b550c0464..276391f632 100644 --- a/docs/reference/commandline/create.md +++ b/docs/reference/commandline/create.md @@ -90,6 +90,7 @@ Options: --read-only Mount the container's root filesystem as read only --restart string Restart policy to apply when a container exits (default "no") Possible values are: no, on-failure[:max-retry], always, unless-stopped + --rm Automatically remove the container when it exits --runtime string Runtime to use for this container --security-opt value Security Options (default []) --shm-size string Size of /dev/shm, default value is 64MB.