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-21 21:20:03 -08:00 committed by Tibor Vass
parent 209f3889e0
commit b67b89f4cd
1 changed files with 15 additions and 2 deletions

View File

@ -2072,8 +2072,21 @@ for further details.
Show the Docker version information.
Show the Docker version, API version, Git commit, and Go version of
both Docker client and daemon.
Show the Docker version, API version, Git commit, Go version and OS/architecture
of both Docker client and daemon. Example use:
$ sudo docker version
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.4.1
Git commit (client): a8a31ef
OS/Arch (client): darwin/amd64
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.4.1
Git commit (server): a8a31ef
OS/Arch (server): linux/amd64
## wait