mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update dns and volumes-from docs
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
parent
b602d6ca40
commit
a43a600a2c
1 changed files with 2 additions and 6 deletions
|
@ -129,12 +129,10 @@ Create a container
|
|||
"Cmd":[
|
||||
"date"
|
||||
],
|
||||
"Dns":null,
|
||||
"Image":"base",
|
||||
"Volumes":{
|
||||
"/tmp": {}
|
||||
},
|
||||
"VolumesFrom":"",
|
||||
"WorkingDir":"",
|
||||
"DisableNetwork": false,
|
||||
"ExposedPorts":{
|
||||
|
@ -203,10 +201,8 @@ Inspect a container
|
|||
"Cmd": [
|
||||
"date"
|
||||
],
|
||||
"Dns": null,
|
||||
"Image": "base",
|
||||
"Volumes": {},
|
||||
"VolumesFrom": "",
|
||||
"WorkingDir":""
|
||||
|
||||
},
|
||||
|
@ -386,6 +382,8 @@ Start a container
|
|||
"PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
|
||||
"PublishAllPorts":false,
|
||||
"Privileged":false
|
||||
"Dns": ["8.8.8.8"],
|
||||
"VolumesFrom: ["parent", "other:ro"]
|
||||
}
|
||||
|
||||
**Example response**:
|
||||
|
@ -793,10 +791,8 @@ Inspect an image
|
|||
"StdinOnce":false,
|
||||
"Env":null,
|
||||
"Cmd": ["/bin/bash"]
|
||||
,"Dns":null,
|
||||
"Image":"base",
|
||||
"Volumes":null,
|
||||
"VolumesFrom":"",
|
||||
"WorkingDir":""
|
||||
},
|
||||
"Size": 6824592
|
||||
|
|
Loading…
Reference in a new issue