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

Container image layers

As previously mentioned, a Docker image contains a number of layers that are combined into a single filesystem using a storage driver. The layers (also called intermediate images) are generated when commands are executed during the Docker image build process. Usually, Docker images are created using a Dockerfile, the syntax of which will be described later. Each layer represents an instruction in the image's Dockerfile.

Each layer, except the very last one, is read-only:

Docker image layers

A Docker image usually consists of several layers, stacked one on top of the other. The top layer has read-write permissions, and all the remaining layers have read-only permissions. This concept is very similar to the copy-on-write technology. So, when you run a container from the image, all the changes are done to this top writable layer. 

主站蜘蛛池模板: 汕尾市| 揭西县| 建阳市| 新化县| 香港| 务川| 海伦市| 兴国县| 伊川县| 来凤县| 溆浦县| 红原县| 海阳市| 常熟市| 彰武县| 陆河县| 安岳县| 合作市| 宜城市| 南郑县| 遂宁市| 理塘县| 永康市| 沈阳市| 华安县| 波密县| 涟水县| 清水县| 锡林郭勒盟| 呼图壁县| 杨浦区| 商都县| 咸宁市| 昌江| 阳江市| 石景山区| 青田县| 大理市| 乌鲁木齐县| 苍南县| 湘潭市|