Delete the container, and the file is gone. Why?

You'll learn to
explain layers, volumes and bind mounts
Recap
- 1Images are read-only layers
- 2A container adds one writable layer (copy-on-write)
- 3Only volumes or bind mounts keep data
Check yourself
A container writes a file, then the container is removed. Where did the file live?
7.1
Stamp this lesson
Watched it and passed the check? Mark it in your logbook.
