瀏覽代碼

Merge pull request #26030 from yongtang/08252016-doc-docker-create-rm

Update docs for `docker create` to include `--rm` flag
Doug Davis 9 年之前
父節點
當前提交
91ec7fa811
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      docs/reference/commandline/create.md

+ 1 - 0
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.