API documentation: added format of Volumes and Binds parameters to "create" and "start"
| ... | ... |
@@ -132,7 +132,9 @@ Create a container |
| 132 | 132 |
], |
| 133 | 133 |
"Dns":null, |
| 134 | 134 |
"Image":"base", |
| 135 |
- "Volumes":{},
|
|
| 135 |
+ "Volumes":{
|
|
| 136 |
+ "/tmp": {}
|
|
| 137 |
+ }, |
|
| 136 | 138 |
"VolumesFrom":"", |
| 137 | 139 |
"WorkingDir":"" |
| 138 | 140 |
|
| ... | ... |
@@ -361,8 +363,12 @@ Start a container |
| 361 | 361 |
|
| 362 | 362 |
{
|
| 363 | 363 |
"Binds":["/tmp:/tmp"], |
| 364 |
- "LxcConf":{"lxc.utsname":"docker"}
|
|
| 364 |
+ "LxcConf":{"lxc.utsname":"docker"},
|
|
| 365 |
+ "PortBindings":null |
|
| 366 |
+ "PublishAllPorts":false |
|
| 365 | 367 |
} |
| 368 |
+ |
|
| 369 |
+ Binds need to reference Volumes that were defined during container creation. |
|
| 366 | 370 |
|
| 367 | 371 |
**Example response**: |
| 368 | 372 |
|