▱HAMILTON TECH LAB
← Linux & Docker Lab
LINUX & DOCKER LAB · LESSON 3 OF 3

Volumes and persistence

Read the explanation, try the exercise, then answer the quiz.

Understand the concept

Container images are replaceable; application data often must persist outside the writable container layer. Bind mounts and named volumes store configuration, databases or media.

Backups should include important persistent data and an inventory of deployment settings. Avoid copying secrets into public examples.

TRY IT YOURSELF

Practice task

Document which paths need backup for a sample web container.

CHECK YOUR UNDERSTANDING

Quick quiz

What is a key use of a Docker volume?