| ... | ... |
@@ -129,12 +129,10 @@ Create a container |
| 129 | 129 |
"Cmd":[ |
| 130 | 130 |
"date" |
| 131 | 131 |
], |
| 132 |
- "Dns":null, |
|
| 133 | 132 |
"Image":"base", |
| 134 | 133 |
"Volumes":{
|
| 135 | 134 |
"/tmp": {}
|
| 136 | 135 |
}, |
| 137 |
- "VolumesFrom":"", |
|
| 138 | 136 |
"WorkingDir":"", |
| 139 | 137 |
"DisableNetwork": false, |
| 140 | 138 |
"ExposedPorts":{
|
| ... | ... |
@@ -203,10 +201,8 @@ Inspect a container |
| 203 | 203 |
"Cmd": [ |
| 204 | 204 |
"date" |
| 205 | 205 |
], |
| 206 |
- "Dns": null, |
|
| 207 | 206 |
"Image": "base", |
| 208 | 207 |
"Volumes": {},
|
| 209 |
- "VolumesFrom": "", |
|
| 210 | 208 |
"WorkingDir":"" |
| 211 | 209 |
|
| 212 | 210 |
}, |
| ... | ... |
@@ -386,6 +382,8 @@ Start a container |
| 386 | 386 |
"PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
|
| 387 | 387 |
"PublishAllPorts":false, |
| 388 | 388 |
"Privileged":false |
| 389 |
+ "Dns": ["8.8.8.8"], |
|
| 390 |
+ "VolumesFrom: ["parent", "other:ro"] |
|
| 389 | 391 |
} |
| 390 | 392 |
|
| 391 | 393 |
**Example response**: |
| ... | ... |
@@ -793,10 +791,8 @@ Inspect an image |
| 793 | 793 |
"StdinOnce":false, |
| 794 | 794 |
"Env":null, |
| 795 | 795 |
"Cmd": ["/bin/bash"] |
| 796 |
- ,"Dns":null, |
|
| 797 | 796 |
"Image":"base", |
| 798 | 797 |
"Volumes":null, |
| 799 |
- "VolumesFrom":"", |
|
| 800 | 798 |
"WorkingDir":"" |
| 801 | 799 |
}, |
| 802 | 800 |
"Size": 6824592 |