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.
This commit is contained in:
evanderkoogh 2014-06-12 17:15:14 +08:00
parent dbee7dd69e
commit 0bdadfe4e7

View file

@ -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,