Hostname -> Name

Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: 227f4bbdb3a1e9ff0011d1ebaed39b3cb19d9e75
Component: engine
This commit is contained in:
Victor Vieux
2014-11-17 21:54:11 +00:00
parent 4b4f9725e6
commit addb2d43fa
5 changed files with 6 additions and 7 deletions

View File

@ -50,8 +50,7 @@ You can still call an old version of the API using
**New!**
`info` now returns the number of CPUs available on the machine (`NCPU`),
total memory available (`MemTotal`), the short hostname (`Hostname`). and
the ID (`ID`).
total memory available (`MemTotal`), a name (`Name`), and the ID (`ID`).
`POST /containers/create`

View File

@ -1220,7 +1220,7 @@ Display system-wide information
"KernelVersion":"3.12.0-1-amd64"
"NCPU":1,
"MemTotal":2099236864,
"Hostname":"prod-server-42",
"Name":"prod-server-42",
"ID":"7TRN:IPZB:QYBB:VPBQ:UMPP:KARE:6ZNR:XE6T:7EWV:PKF4:ZOJD:TPYS"
"Debug":false,
"NFd": 11,

View File

@ -856,7 +856,7 @@ For example:
Kernel Version: 3.13.0-24-generic
Operating System: Ubuntu 14.04 LTS
CPUs: 1
Hostname: prod-server-42
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