官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 舒兰市| 上蔡县| 白银市| 木里| 中西区| 汤阴县| 吉木萨尔县| 泾川县| 井研县| 宁化县| 许昌县| 开阳县| 那曲县| 南涧| 黔西县| 于田县| 中阳县| 阿坝县| 大足县| 思南县| 洞头县| 黄山市| 吴忠市| 策勒县| 三都| 榆林市| 虎林市| 昭平县| 余江县| 阳谷县| 镇原县| 当阳市| 高碑店市| 平南县| 宁陕县| 茶陵县| 元谋县| 岳普湖县| 息烽县| 虹口区| 德阳市|