Docker image union files

Now that you know what a Docker File is, and what sort of instructions you can include in your Docker File, let’s talk about how Docker actually builds, stores, and runs Docker containers.

Layers

Demonstration

-

cd into docker file parent

-

docker build

-

docker inspect

layers

-

implications of layers

Union File System

modifying files from
application within container

Copy-On-Write strategy
(COW optimization)

-

implications of COW optimization

-

writable container layer

Docker Volumes

Summary