使用docker history命令可以列出各层的创建信息。
$ docker history ubuntu IMAGE CREATED CREATED BY SIZE COMMENT ba6acccedd29 2 years ago /bin/sh -c #(nop) CMD ["bash"] 0B <missing> 2 years ago /bin/sh -c #(nop) ADD file:5d68d27cc15a80653… 72.8MB
Last updated 1 year ago
Was this helpful?