|
@@ -124,12 +124,10 @@ Create a container
|
|
"Cmd":[
|
|
"Cmd":[
|
|
"date"
|
|
"date"
|
|
],
|
|
],
|
|
- "Dns":null,
|
|
|
|
"Image":"base",
|
|
"Image":"base",
|
|
"Volumes":{
|
|
"Volumes":{
|
|
"/tmp": {}
|
|
"/tmp": {}
|
|
},
|
|
},
|
|
- "VolumesFrom":"",
|
|
|
|
"WorkingDir":"",
|
|
"WorkingDir":"",
|
|
"DisableNetwork": false,
|
|
"DisableNetwork": false,
|
|
"ExposedPorts":{
|
|
"ExposedPorts":{
|
|
@@ -411,7 +409,9 @@ Start the container `id`
|
|
"LxcConf":{"lxc.utsname":"docker"},
|
|
"LxcConf":{"lxc.utsname":"docker"},
|
|
"PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
|
|
"PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
|
|
"PublishAllPorts":false,
|
|
"PublishAllPorts":false,
|
|
- "Privileged":false
|
|
|
|
|
|
+ "Privileged":false,
|
|
|
|
+ "Dns": ["8.8.8.8"],
|
|
|
|
+ "VolumesFrom": ["parent", "other:ro"]
|
|
}
|
|
}
|
|
|
|
|
|
**Example response**:
|
|
**Example response**:
|