mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
use Server Version
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
ddf04ad113
commit
17b0017cd0
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue