浏览代码

Merge pull request #26482 from yuexiao-wang/add-option

Update the options for docker client
Vincent Demeester 8 年之前
父节点
当前提交
a43691d645
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      docs/reference/commandline/cli.md

+ 3 - 2
docs/reference/commandline/cli.md

@@ -174,8 +174,9 @@ To list the help on any command just execute the command, followed by the
 
 
     Run a command in a new container
     Run a command in a new container
 
 
-      -a, --attach=[]            Attach to STDIN, STDOUT or STDERR
-      --cpu-shares=0             CPU shares (relative weight)
+    Options:
+          --add-host value             Add a custom host-to-IP mapping (host:ip) (default [])
+      -a, --attach value               Attach to STDIN, STDOUT or STDERR (default [])
     ...
     ...
 
 
 ## Option types
 ## Option types