mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add docs
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
9a85f60c75
commit
8545155c41
3 changed files with 7 additions and 2 deletions
|
@ -49,8 +49,9 @@ 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`), the short hostname (`Hostname`). and
|
||||
the ID (`ID`).
|
||||
|
||||
`POST /containers/create`
|
||||
|
||||
|
|
|
@ -1220,6 +1220,8 @@ Display system-wide information
|
|||
"KernelVersion":"3.12.0-1-amd64"
|
||||
"NCPU":1,
|
||||
"MemTotal":2099236864,
|
||||
"Hostname":"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
|
||||
Hostname: 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
|
||||
|
|
Loading…
Add table
Reference in a new issue