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

  • Learn OpenShift
  • Denis Zuev Artemii Kropachev Aleksey Usov
  • 138字
  • 2021-08-13 16:03:42

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. 

主站蜘蛛池模板: 石屏县| 方山县| 安远县| 陈巴尔虎旗| 怀远县| 柘城县| 晴隆县| 巨鹿县| 蕲春县| 称多县| 阳春市| 河津市| 崇左市| 石河子市| 济阳县| 忻城县| 冀州市| 泽普县| 长阳| 都安| 都江堰市| 南川市| 汉源县| 宁乡县| 扎鲁特旗| 盐城市| 临夏县| 建水县| 青河县| 泸溪县| 兴山县| 临武县| 穆棱市| 湛江市| 隆昌县| 贺兰县| 景东| 息烽县| 梧州市| 当雄县| 安西县|