mirror of https://github.com/docker/docs.git
Added some 1.7 API updates that were missing from 1.8
This commit is contained in:
parent
c23b15b9d8
commit
69db6ea867
|
@ -135,7 +135,7 @@ Create a container
|
||||||
"/tmp": {}
|
"/tmp": {}
|
||||||
},
|
},
|
||||||
"VolumesFrom":"",
|
"VolumesFrom":"",
|
||||||
"WorkingDir":""
|
"WorkingDir":"",
|
||||||
"ExposedPorts":{
|
"ExposedPorts":{
|
||||||
"22/tcp": {}
|
"22/tcp": {}
|
||||||
}
|
}
|
||||||
|
|
|
@ -122,7 +122,6 @@ Create a container
|
||||||
"AttachStdout":true,
|
"AttachStdout":true,
|
||||||
"AttachStderr":true,
|
"AttachStderr":true,
|
||||||
"PortSpecs":null,
|
"PortSpecs":null,
|
||||||
"Privileged": false,
|
|
||||||
"Tty":false,
|
"Tty":false,
|
||||||
"OpenStdin":false,
|
"OpenStdin":false,
|
||||||
"StdinOnce":false,
|
"StdinOnce":false,
|
||||||
|
@ -132,10 +131,14 @@ Create a container
|
||||||
],
|
],
|
||||||
"Dns":null,
|
"Dns":null,
|
||||||
"Image":"base",
|
"Image":"base",
|
||||||
"Volumes":{},
|
"Volumes":{
|
||||||
|
"/tmp": {}
|
||||||
|
},
|
||||||
"VolumesFrom":"",
|
"VolumesFrom":"",
|
||||||
"WorkingDir":""
|
"WorkingDir":"",
|
||||||
|
"ExposedPorts":{
|
||||||
|
"22/tcp": {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
@ -378,7 +381,10 @@ Start a container
|
||||||
|
|
||||||
{
|
{
|
||||||
"Binds":["/tmp:/tmp"],
|
"Binds":["/tmp:/tmp"],
|
||||||
"LxcConf":{"lxc.utsname":"docker"}
|
"LxcConf":{"lxc.utsname":"docker"},
|
||||||
|
"PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
|
||||||
|
"PublishAllPorts":false,
|
||||||
|
"Privileged":false
|
||||||
}
|
}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
Loading…
Reference in New Issue