Add docs for hostconfig in inspect
This commit is contained in:
parent
c4c90e9cec
commit
664174c7aa
2 changed files with 21 additions and 1 deletions
|
@ -51,6 +51,10 @@ What's new
|
|||
**New!** This endpoint now returns build status as json stream. In case
|
||||
of a build error, it returns the exit status of the failed command.
|
||||
|
||||
.. http:get:: /containers/(id)/json
|
||||
|
||||
**New!** This endpoint now returns the host config for the container.
|
||||
|
||||
|
||||
v1.7
|
||||
****
|
||||
|
|
|
@ -222,7 +222,23 @@ Inspect a container
|
|||
},
|
||||
"SysInitPath": "/home/kitty/go/src/github.com/dotcloud/docker/bin/docker",
|
||||
"ResolvConfPath": "/etc/resolv.conf",
|
||||
"Volumes": {}
|
||||
"Volumes": {},
|
||||
"HostConfig": {
|
||||
"Binds": null,
|
||||
"ContainerIDFile": "",
|
||||
"LxcConf": [],
|
||||
"Privileged": false,
|
||||
"PortBindings": {
|
||||
"80/tcp": [
|
||||
{
|
||||
"HostIp": "0.0.0.0",
|
||||
"HostPort": "49153"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Links": null,
|
||||
"PublishAllPorts": false
|
||||
}
|
||||
}
|
||||
|
||||
:statuscode 200: no error
|
||||
|
|
Loading…
Reference in a new issue