Quellcode durchsuchen

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

Update docs for `docker create` to include `--rm` flag
Doug Davis vor 8 Jahren
Ursprung
Commit
91ec7fa811
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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.