1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

use Server Version

Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: 17b0017cd0949f0772a849e6e5d0ee6084ff5340
Component: engine
This commit is contained in:
Victor Vieux
2015-10-14 17:24:13 -07:00
parent aef0c60b60
commit fbe671eb09
4 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ func (cli *DockerCli) CmdInfo(args ...string) error {
fmt.Fprintf(cli.out, "Containers: %d\n", info.Containers)
fmt.Fprintf(cli.out, "Images: %d\n", info.Images)
ioutils.FprintfIfNotEmpty(cli.out, "Engine Version: %s\n", info.ServerVersion)
ioutils.FprintfIfNotEmpty(cli.out, "Server Version: %s\n", info.ServerVersion)
ioutils.FprintfIfNotEmpty(cli.out, "Storage Driver: %s\n", info.Driver)
if info.DriverStatus != nil {
for _, pair := range info.DriverStatus {

View File

@@ -22,7 +22,7 @@ For example:
$ docker -D info
Containers: 14
Images: 52
Engine Version: 1.9.0
Server Version: 1.9.0
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs

View File

@@ -188,7 +188,7 @@ These labels appear as part of the `docker info` output for the daemon:
$ docker -D info
Containers: 12
Images: 672
Engine Version: 1.9.0
Server Version: 1.9.0
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs

View File

@@ -33,7 +33,7 @@ Here is a sample output:
# docker info
Containers: 14
Images: 52
Engine Version: 1.9.0
Server Version: 1.9.0
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Dirs: 80