Card 05/ 05
All 5 cards
RecapDifficulty: Intermediate1 min
What You Learned
- Writes land in the container's writable layer, never in the image, and that layer has the container's lifetime.
- Stopping keeps it; removing does not.
- Bind mount when the host owns the files, named volume when the container does.
- A mount replaces what is at that path, which is why mounting source over an app directory hides the dependencies the image installed.