diff --git a/docs/sources/api/docker_remote_api_v1.7.rst b/docs/sources/api/docker_remote_api_v1.7.rst index c33b276d25..d47f672df0 100644 --- a/docs/sources/api/docker_remote_api_v1.7.rst +++ b/docs/sources/api/docker_remote_api_v1.7.rst @@ -135,12 +135,12 @@ Create a container "/tmp": {} }, "VolumesFrom":"", - "WorkingDir":"" - "ExposedPorts":{ - "22/tcp": {} - } + "WorkingDir":"", + "ExposedPorts":{ + "22/tcp": {} + } } - + **Example response**: .. sourcecode:: http diff --git a/docs/sources/api/docker_remote_api_v1.8.rst b/docs/sources/api/docker_remote_api_v1.8.rst index 21dd4a46cf..3fe5cd73e0 100644 --- a/docs/sources/api/docker_remote_api_v1.8.rst +++ b/docs/sources/api/docker_remote_api_v1.8.rst @@ -122,7 +122,6 @@ Create a container "AttachStdout":true, "AttachStderr":true, "PortSpecs":null, - "Privileged": false, "Tty":false, "OpenStdin":false, "StdinOnce":false, @@ -132,12 +131,16 @@ Create a container ], "Dns":null, "Image":"base", - "Volumes":{}, + "Volumes":{ + "/tmp": {} + }, "VolumesFrom":"", - "WorkingDir":"" - + "WorkingDir":"", + "ExposedPorts":{ + "22/tcp": {} + } } - + **Example response**: .. sourcecode:: http @@ -378,7 +381,10 @@ Start a container { "Binds":["/tmp:/tmp"], - "LxcConf":{"lxc.utsname":"docker"} + "LxcConf":{"lxc.utsname":"docker"}, + "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] }, + "PublishAllPorts":false, + "Privileged":false } **Example response**: