cli: Add server OS/Arch info to 'version' cmd

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
This commit is contained in:
Ahmet Alp Balkan
2015-02-23 14:32:25 -08:00
parent f207dd5e7c
commit 3346c2e4d9
5 changed files with 30 additions and 6 deletions
@@ -46,6 +46,11 @@ You can still call an old version of the API using
### What's new
`GET /version`
**New!**
This endpoint now returns `Os`, `Arch` and `KernelVersion`.
## v1.17
### Full Documentation
@@ -1471,10 +1471,13 @@ Show the docker version information
Content-Type: application/json
{
"ApiVersion": "1.12",
"Version": "0.2.2",
"GitCommit": "5a2a5cc+CHANGES",
"GoVersion": "go1.0.3"
"Version": "1.5.0",
"Os": "linux",
"KernelVersion": "3.18.5-tinycore64",
"GoVersion": "go1.4.1",
"GitCommit": "a8a31ef",
"Arch": "amd64",
"ApiVersion": "1.18"
}
Status Codes: