docker history
[root@u95eau5e972u53f7 docker]# docker history nginx //查看镜像改动历史 IMAGE CREATED CREATED BY SIZE COMMENT 231d40e811cd 4 days ago /bin/sh -c #(nop) CMD ["nginx" "-g" "daemon… 0B <missing> 4 days ago /bin/sh -c #(nop) STOPSIGNAL SIGTERM 0B <missing> 4 days ago /bin/sh -c #(nop) EXPOSE 80 0B <missing> 4 days ago /bin/sh -c ln -sf /dev/stdout /var/log/nginx… 22B <missing> 4 days ago /bin/sh -c set -x && addgroup --system -… 57.1MB <missing> 4 days ago /bin/sh -c #(nop) ENV PKG_RELEASE=1~buster 0B <missing> 4 days ago /bin/sh -c #(nop) ENV NJS_VERSION=0.3.7 0B <missing> 4 days ago /bin/sh -c #(nop) ENV NGINX_VERSION=1.17.6 0B <missing> 4 days ago /bin/sh -c #(nop) LABEL maintainer=NGINX Do… 0B <missing> 4 days ago /bin/sh -c #(nop) CMD ["bash"] 0B <missing> 4 days ago /bin/sh -c #(nop) ADD file:bc8179c87c8dbb3d9… 69.2MB