-->

Tuesday, June 20, 2017

docker version and docker info commands

You can use the docker version command which gives you information about Current version of the docker installed, api version, go version and built.
 [user@ankit63001 ~]$ docker images  
 REPOSITORY     TAG         IMAGE ID      CREATED       SIZE
  hello-world     latest       1815c82652c0    5 days ago     1.84kB
 [user@ankit63001 ~]$ docker version
 Client:
 Version:   17.05.0-ce
 API version: 1.29
 Go version:  go1.7.5
 Git commit:  89658be
 Built:    Thu May 4 22:06:25 2017
 OS/Arch:   linux/amd64 
 Server:
 Version:   17.05.0-ce
 API version: 1.29 (minimum version 1.12)
 Go version:  go1.7.5
 Git commit:  89658be
 Built:    Thu May 4 22:06:25 2017
 OS/Arch:   linux/amd64
 Experimental: false
 [user@ankit63001 ~]$