Browse Source

Update docs

Guillaume J. Charmes 11 years ago
parent
commit
379a7fab07
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/sources/commandline/cli.rst

+ 2 - 2
docs/sources/commandline/cli.rst

@@ -12,7 +12,7 @@ To list available commands, either run ``docker`` with no parameters or execute
 
 
   $ sudo docker
   $ sudo docker
     Usage: docker [OPTIONS] COMMAND [arg...]
     Usage: docker [OPTIONS] COMMAND [arg...]
-      -H=[unix:///var/run/docker.sock]: tcp://host:port to bind/connect to or unix://path/to/socket to use
+      -H=[unix:///var/run/docker.sock]: tcp://[host[:port]] to bind/connect to or unix://[/path/to/socket] to use. When host=[0.0.0.0], port=[4243] or path=[/var/run/docker.sock] is omitted, default values are used.
 
 
     A self-sufficient runtime for linux containers.
     A self-sufficient runtime for linux containers.
 
 
@@ -27,7 +27,7 @@ To list available commands, either run ``docker`` with no parameters or execute
 
 
     Usage of docker:
     Usage of docker:
       -D=false: Enable debug mode
       -D=false: Enable debug mode
-      -H=[unix:///var/run/docker.sock]: Multiple tcp://host:port or unix://path/to/socket to bind in daemon mode, single connection otherwise
+      -H=[unix:///var/run/docker.sock]: tcp://[host[:port]] to bind or unix://[/path/to/socket] to use. When host=[0.0.0.0], port=[4243] or path=[/var/run/docker.sock] is omitted, default values are used.
       -api-enable-cors=false: Enable CORS headers in the remote API
       -api-enable-cors=false: Enable CORS headers in the remote API
       -b="": Attach containers to a pre-existing network bridge; use 'none' to disable container networking
       -b="": Attach containers to a pre-existing network bridge; use 'none' to disable container networking
       -bip="": Use the provided CIDR notation address for the dynamically created bridge (docker0); Mutually exclusive of -b
       -bip="": Use the provided CIDR notation address for the dynamically created bridge (docker0); Mutually exclusive of -b