- 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.
推薦閱讀
- Kubernetes修煉手冊
- Learning OpenDaylight
- Mobile-first Bootstrap
- Mastering Distributed Tracing
- Learn Helm
- Haskell Financial Data Modeling and Predictive Analytics
- Windows Phone 7.5 Data Cookbook
- Linux Shell編程從入門到精通(第2版)
- Python基礎教程(第3版)
- Windows 7案例教程
- Delphi Programming Projects
- 分布式系統設計實踐
- Windows 7實戰從入門到精通(超值版)
- Docker容器技術與運維
- 15分鐘!畫出我的漫畫角色:賣萌篇