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:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user