查看已下载的Docker镜像latest具体版本

命令格式:

docker image inspect (docker image名称):latest|grep -i version

实例:

[root@docker ~]# docker image inspect zabbix/zabbix-server-mysql:latest|grep -i version
                "ZBX_VERSION=5.0.1",
                "org.opencontainers.image.version": "5.0.1"
        "DockerVersion": "19.03.8",
                "ZBX_VERSION=5.0.1",
                "org.opencontainers.image.version": "5.0.1"

可以获取到zabbix-server的镜像版本为5.0.1

你可能感兴趣的:(Docker,docker,linux)