Ver código fonte

Update dns and volumes-from docs
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Michael Crosby 11 anos atrás
pai
commit
a43a600a2c

+ 2 - 6
docs/sources/reference/api/docker_remote_api_v1.10.rst

@@ -129,12 +129,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":{
@@ -203,10 +201,8 @@ Inspect a container
                                 "Cmd": [
                                 "Cmd": [
                                         "date"
                                         "date"
                                 ],
                                 ],
-                                "Dns": null,
                                 "Image": "base",
                                 "Image": "base",
                                 "Volumes": {},
                                 "Volumes": {},
-                                "VolumesFrom": "",
                                 "WorkingDir":""
                                 "WorkingDir":""
 
 
                         },
                         },
@@ -386,6 +382,8 @@ Start a container
                 "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**:
@@ -793,10 +791,8 @@ Inspect an image
                                 "StdinOnce":false,
                                 "StdinOnce":false,
                                 "Env":null,
                                 "Env":null,
                                 "Cmd": ["/bin/bash"]
                                 "Cmd": ["/bin/bash"]
-                                ,"Dns":null,
                                 "Image":"base",
                                 "Image":"base",
                                 "Volumes":null,
                                 "Volumes":null,
-                                "VolumesFrom":"",
                                 "WorkingDir":""
                                 "WorkingDir":""
                         },
                         },
                 "Size": 6824592
                 "Size": 6824592