Merge pull request #9201 from vieux/add_hostname_docker_info
Add hostname and ID docker info Upstream-commit: 998b591a71094b3f0112dac9b0c35a93745ac28f Component: engine
This commit is contained in:
@ -49,8 +49,8 @@ You can still call an old version of the API using
|
||||
`GET /info`
|
||||
|
||||
**New!**
|
||||
`info` now returns the number of CPUs available on the machine (`NCPU`) and
|
||||
total memory available (`MemTotal`).
|
||||
`info` now returns the number of CPUs available on the machine (`NCPU`),
|
||||
total memory available (`MemTotal`), a user-friendly name describing the running Docker daemon (`Name`), and a unique ID identifying the daemon (`ID`).
|
||||
|
||||
`POST /containers/create`
|
||||
|
||||
|
||||
@ -1220,6 +1220,8 @@ Display system-wide information
|
||||
"KernelVersion":"3.12.0-1-amd64"
|
||||
"NCPU":1,
|
||||
"MemTotal":2099236864,
|
||||
"Name":"prod-server-42",
|
||||
"ID":"7TRN:IPZB:QYBB:VPBQ:UMPP:KARE:6ZNR:XE6T:7EWV:PKF4:ZOJD:TPYS",
|
||||
"Debug":false,
|
||||
"NFd": 11,
|
||||
"NGoroutines":21,
|
||||
|
||||
@ -856,6 +856,8 @@ For example:
|
||||
Kernel Version: 3.13.0-24-generic
|
||||
Operating System: Ubuntu 14.04 LTS
|
||||
CPUs: 1
|
||||
Name: prod-server-42
|
||||
ID: 7TRN:IPZB:QYBB:VPBQ:UMPP:KARE:6ZNR:XE6T:7EWV:PKF4:ZOJD:TPYS
|
||||
Total Memory: 2 GiB
|
||||
Debug mode (server): false
|
||||
Debug mode (client): true
|
||||
|
||||
Reference in New Issue
Block a user