Merge pull request #10933 from ahmetalpbalkan/version-daemon-os-arch

cli: Add server OS/Arch info to 'version' cmd
This commit is contained in:
Alexander Morozov
2015-02-23 15:26:53 -08:00
5 changed files with 30 additions and 6 deletions
+1
View File
@@ -484,6 +484,7 @@ func (cli *DockerCli) CmdVersion(args ...string) error {
}
fmt.Fprintf(cli.out, "Go version (server): %s\n", remoteVersion.Get("GoVersion"))
fmt.Fprintf(cli.out, "Git commit (server): %s\n", remoteVersion.Get("GitCommit"))
fmt.Fprintf(cli.out, "OS/Arch (server): %s/%s\n", remoteVersion.Get("Os"), remoteVersion.Get("Arch"))
return nil
}