Explorar o código

update doc

Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Victor Vieux %!s(int64=10) %!d(string=hai) anos
pai
achega
d2cde4fa66
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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`