瀏覽代碼

Add missing --name flag to run reference doc

Signed-off-by: Vincent Demeester <[email protected]>
Vincent Demeester 9 年之前
父節點
當前提交
4e75ed4231
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      docs/reference/run.md

+ 1 - 0
docs/reference/run.md

@@ -17,6 +17,7 @@ Usage: run [options] [-e KEY=VAL...] SERVICE [COMMAND] [ARGS...]
 Options:
 -d                    Detached mode: Run container in the background, print
                           new container name.
+--name NAME           Assign a name to the container
 --entrypoint CMD      Override the entrypoint of the image.
 -e KEY=VAL            Set an environment variable (can be used multiple times)
 -u, --user=""         Run as specified username or uid