|
@@ -505,8 +505,8 @@ func (cli *DockerCli) CmdInfo(args ...string) error {
|
|
if remoteInfo.Exists("MemTotal") {
|
|
if remoteInfo.Exists("MemTotal") {
|
|
fmt.Fprintf(cli.out, "Total Memory: %s\n", units.BytesSize(float64(remoteInfo.GetInt64("MemTotal"))))
|
|
fmt.Fprintf(cli.out, "Total Memory: %s\n", units.BytesSize(float64(remoteInfo.GetInt64("MemTotal"))))
|
|
}
|
|
}
|
|
- if remoteInfo.Exists("Hostname") {
|
|
|
|
- fmt.Fprintf(cli.out, "Hostname: %s\n", remoteInfo.Get("Hostname"))
|
|
|
|
|
|
+ if remoteInfo.Exists("Name") {
|
|
|
|
+ fmt.Fprintf(cli.out, "Name: %s\n", remoteInfo.Get("Name"))
|
|
}
|
|
}
|
|
if remoteInfo.Exists("ID") {
|
|
if remoteInfo.Exists("ID") {
|
|
fmt.Fprintf(cli.out, "ID: %s\n", remoteInfo.Get("ID"))
|
|
fmt.Fprintf(cli.out, "ID: %s\n", remoteInfo.Get("ID"))
|