- 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修煉手冊(cè)
- Getting Started with oVirt 3.3
- Linux從零開始學(xué)(視頻教學(xué)版)
- 白話區(qū)塊鏈
- Mastering KVM Virtualization
- 循序漸進(jìn)學(xué)Docker
- Windows 7案例教程
- Kali Linux 2018:Windows Penetration Testing
- Delphi Programming Projects
- Linux設(shè)備驅(qū)動(dòng)開發(fā)
- Linux軟件管理平臺(tái)設(shè)計(jì)與實(shí)現(xiàn)
- μC/OS-III內(nèi)核實(shí)現(xiàn)與應(yīng)用開發(fā)實(shí)戰(zhàn)指南:基于STM32
- Linux網(wǎng)絡(luò)操作系統(tǒng)項(xiàng)目教程(RHEL 7.4/CentOS 7.4)(第3版)(微課版)
- Linux集群之美
- Windows 8完全自學(xué)手冊(cè)