writable layer

The thin layer on top of an image where a running container writes its changes.

In more detail

Every container gets its own writable layer, so two containers from one image do not see each other writes. docker diff lists what is in it. It is deleted with the container, which is why data that must survive belongs in a volume, not in the writable layer.

Related terms

Taught in

References