Two characteristics of docker images

王林
Release: 2020-06-16 17:45:39
forward
3491 people have browsed it

Two characteristics of docker images

What is a Docker image?

To simply understand, the Docker image is a Linux file system (Root FileSystem). This file system contains programs that can run in the Linux kernel and corresponding data.

Two characteristics of the image:

1. The image is layered

That is, an image can be composed of multiple intermediate layers. Multiple images can share the same middle layer, and we can also generate a new image by adding one more layer to the image.

2. The image is read-only

After the image is built, it cannot be modified. As we said above, adding a layer to build a new image, In the process, a temporary container is actually created, and files are added or deleted on the container to form a new image, because the container can be changed dynamically.

Recommended tutorial: docker tutorial

The above is the detailed content of Two characteristics of docker images. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:juejin.im
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template