mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Added some 1.7 API updates that were missing from 1.8
This commit is contained in:
parent
c23b15b9d8
commit
69db6ea867
2 changed files with 17 additions and 11 deletions
|
@ -135,12 +135,12 @@ Create a container
|
|||
"/tmp": {}
|
||||
},
|
||||
"VolumesFrom":"",
|
||||
"WorkingDir":""
|
||||
"ExposedPorts":{
|
||||
"22/tcp": {}
|
||||
}
|
||||
"WorkingDir":"",
|
||||
"ExposedPorts":{
|
||||
"22/tcp": {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
**Example response**:
|
||||
|
||||
.. sourcecode:: http
|
||||
|
|
|
@ -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**:
|
||||
|
|
Loading…
Add table
Reference in a new issue