Containers from Scratch
Volumes & data
Lesson 3 of 5
A container's filesystem is ephemeral; named volumes and bind mounts persist data beyond the container's life.
What you'll learn
- Understand why writes to a container's filesystem vanish on recreate
- Distinguish named volumes from bind mounts
- See how a volume keeps data alive across container replacements
Members only
A free account unlocks this lesson and every other one.
Runnable challenges, knowledge checks, and progress that syncs across your devices. No card needed.
Not sure yet? Try the free lesson first: Images vs. containers