cli.fail

Practice this fail.

Where did the data go?

Docker · Restart as often as you like

Read the error, choose a command, and learn
why it works. Nothing runs on your machine.

Browse all practice ↗

Docker · Beginner

A named volume db-data already exists. Inspect its metadata, including its mountpoint; do not remove or recreate it.

Where did the data go?

$ docker volume ls

local db-data

How do you inspect this named volume?

3 attempts remaining

Read why this fix works

Where did the data go?

docker volume inspect db-data

volume inspect reports metadata for a named volume. Inspecting it is distinct from deleting it or inspecting a container that uses it.

Practice rounds do not affect the daily score or local streak. Try today’s challenge, or choose another scenario.

Copy your result