- Learn OpenShift
- Denis Zuev Artemii Kropachev Aleksey Usov
- 84字
- 2021-08-13 16:03:48
Using Docker history
We can check the history of image modifications using docker history:
$ docker history custom_image2
IMAGE CREATED CREATED BY SIZE COMMENT
6b9be8efcb3a 21 hours ago /bin/sh -c echo "This is a custom image" > /u 23 B
01154c38b473 2 weeks ago /bin/sh -c #(nop) CMD ["httpd-foreground"] 0 B
...
output truncated for brevity
...
Note that a new layer, 6b9be8efcb3a, is added. This is where we change the content of the index.html file in comparison to the original httpd image.
推薦閱讀
- Windows Vista基礎與應用精品教程
- Red Hat Enterprise Linux 8系統管理實戰
- 無蘋果不生活 OS X Mountain Lion隨身寶典
- Haskell Financial Data Modeling and Predictive Analytics
- Learning Bootstrap
- 細說Linux基礎知識
- Kali Linux 2018:Windows Penetration Testing
- Linux內核設計的藝術:圖解Linux操作系統架構設計與實現原理
- AWS SysOps Cookbook
- 精解Windows 10
- OpenVZ Essentials
- Agile IT Security Implementation Methodology
- openEuler操作系統核心技術與行業應用實踐
- SAP后勤模塊實施攻略:SAP在生產、采購、銷售、物流中的應用
- Windows10開發入門經典