1.docker version介绍
docker version命令是用于查看docker容器的版本信息
2.docker version用法
docker version [参数]
[root@centos79 ~]# docker version --help
Usage: docker version [OPTIONS]
Show the Docker version information
Options:
-f, --format string Format output using a custom template:
'json': Print in JSON format
'TEMPLATE': Print output using the given Go template.
Refer to https://docs.docker.com/go/formatting/ for more information about
formatting output with templates
[root@centos79 ~]#
3.实例
3.1.查看docker的版本信息
命令:
docker version
[root@cen