Browse Source

update doc

Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Victor Vieux 10 years ago
parent
commit
d2cde4fa66
1 changed files with 3 additions and 1 deletions
  1. 3 1
      docs/articles/basics.md

+ 3 - 1
docs/articles/basics.md

@@ -83,12 +83,14 @@ Similarly, the Docker client can use `-H` to connect to a custom port.
 
 `-H` accepts host and port assignment in the following format:
 
-    tcp://[host][:port] or unix://path
+    tcp://[host][:port][path] or unix://path
 
 For example:
 
 -   `tcp://host:2375` -> TCP connection on
     host:2375
+-   `tcp://host:2375/path` -> TCP connection on
+    host:2375 and prepend path to all requests
 -   `unix://path/to/socket` -> Unix socket located
     at `path/to/socket`