Govur University Logo
--> --> --> -->
...

When a Dockerfile instruction like `RUN` or `COPY` is executed, a new read-only filesystem is added on top of the previous one. What are these individual filesystems called?



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



Community Answers

Sign in to open profiles and full community answers.

No community answers yet. Be the first to submit one.

Redundant Elements