Docker · hands-on lab
Docker Lab 04: Keep Data with Volumes and Bind Mounts
Create named volumes and bind mounts, share data between containers and back up a volume.
- 40 minutesTime in the lab
- IntermediateLevel
- 5 tasksChecked automatically
- CertificateVerifiable link when you finish
The situation
The database container loses its data every time it is replaced. You fix that.
What you will do
- Guided exercise: A named volume
- Guided exercise: Data survives the container
- Lab: Bind mount for web content
- Lab: Back up a volume
- Removalquestion
How it works
The lab opens in your browser: a real terminal or desktop, nothing to install. Work through the tasks, press Check after each one and the portal verifies your work. Stuck? Ask for a hint. Finish every task and you get a certificate page with its own verification link for LinkedIn or your CV.