浏览代码

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 年之前
父节点
当前提交
0bdadfe4e7
共有 1 个文件被更改,包括 1 次插入0 次删除
  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,