Data That Survives

Move container data onto a named volume so redeploys can't destroy it.

A intermediate Docker challenge worth 10 points. Solve it hands-on in a real Docker environment in your browser - no local setup, no fake shells.

The Challenge

Scenario: Last week's redeploy of the notes service wiped all user data — it lived in the container's writable layer.

Tasks:

Commands to learn: docker volume create, docker run -v, docker inspect (Mounts)

Run check when done.