[root@myhost ~]# docker image inspect nginx:latest | grep -i version
"NGINX_VERSION=1.19.9",
"NJS_VERSION=0.5.3",
"DockerVersion": "19.03.12",
"NGINX_VERSION=1.19.9",
"NJS_VERSION=0.5.3",
原文:https://www.cnblogs.com/yzgblogs/p/14607637.html