Skip to content

Commit

Permalink
Added some 1.7 API updates that were missing from 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jamtur01 committed Jan 3, 2014
1 parent c23b15b commit 69db6ea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
10 changes: 5 additions & 5 deletions docs/sources/api/docker_remote_api_v1.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ Create a container
"/tmp": {}
},
"VolumesFrom":"",
"WorkingDir":""
"ExposedPorts":{
"22/tcp": {}
}
"WorkingDir":"",
"ExposedPorts":{
"22/tcp": {}
}
}

**Example response**:

.. sourcecode:: http
Expand Down
18 changes: 12 additions & 6 deletions docs/sources/api/docker_remote_api_v1.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ Create a container
"AttachStdout":true,
"AttachStderr":true,
"PortSpecs":null,
"Privileged": false,
"Tty":false,
"OpenStdin":false,
"StdinOnce":false,
Expand All @@ -132,12 +131,16 @@ Create a container
],
"Dns":null,
"Image":"base",
"Volumes":{},
"Volumes":{
"/tmp": {}
},
"VolumesFrom":"",
"WorkingDir":""

"WorkingDir":"",
"ExposedPorts":{
"22/tcp": {}
}
}

**Example response**:

.. sourcecode:: http
Expand Down Expand Up @@ -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**:
Expand Down

0 comments on commit 69db6ea

Please sign in to comment.