Explorar o código

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

Update the options for docker client
Vincent Demeester %!s(int64=8) %!d(string=hai) anos
pai
achega
a43691d645
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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
 
-      -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