diff --git a/docs/sources/api/docker_remote_api_v1.7.rst b/docs/sources/api/docker_remote_api_v1.7.rst index c985f4f018..c33b276d25 100644 --- a/docs/sources/api/docker_remote_api_v1.7.rst +++ b/docs/sources/api/docker_remote_api_v1.7.rst @@ -136,9 +136,11 @@ Create a container }, "VolumesFrom":"", "WorkingDir":"" - + "ExposedPorts":{ + "22/tcp": {} + } } - + **Example response**: .. sourcecode:: http @@ -363,11 +365,11 @@ Start a container { "Binds":["/tmp:/tmp"], "LxcConf":{"lxc.utsname":"docker"}, - "PortBindings":null, + "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] }, "Privileged":false, "PublishAllPorts":false } - + Binds need to reference Volumes that were defined during container creation. **Example response**: