These individual read-only filesystems are called layers, or more precisely, image layers. Docker constructs images using a Union File System, which allows multiple distinct filesystems to be stacked together, presenting them as a single, coherent filesystem. Each instruction in a Dockerfile that modifies the filesystem, such as `RUN`, `COPY`, or `ADD`, creates a new, independent read-only layer. For instance, a `RUN` instruction execute....
Log in to view the answer