Browse Source

Linking containers added to API example

Linking containers was not covered in the API documentation. I looked it up in the client source code and testing it manually.
evanderkoogh 11 years ago
parent
commit
0bdadfe4e7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/sources/reference/api/docker_remote_api_v1.12.md

+ 1 - 0
docs/sources/reference/api/docker_remote_api_v1.12.md

@@ -406,6 +406,7 @@ Start the container `id`
 
         {
              "Binds":["/tmp:/tmp"],
+             "Links":["redis3:redis"],
              "LxcConf":{"lxc.utsname":"docker"},
              "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
              "PublishAllPorts":false,