查看已下载的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

猜你喜欢

转载自blog.csdn.net/u013956462/article/details/107975064