Intermediate Docker & Containers
Q59 / 100

What is a "named volume" in Docker, and how does it differ from an anonymous volume?

Correct! Well done.

Incorrect.

The correct answer is B) A named volume is created with a specific, reusable identifier (e.g. "docker volume create mydata") that persists and can be referenced by multiple containers, while an anonymous volume gets a random ID and is harder to reference later

B

Correct Answer

A named volume is created with a specific, reusable identifier (e.g. "docker volume create mydata") that persists and can be referenced by multiple containers, while an anonymous volume gets a random ID and is harder to reference later

Explanation

Named volumes have a human-readable identifier that makes them easy to reuse and reference across containers/restarts, while anonymous volumes are given a generated hash name and are harder to manage explicitly.

Progress
59/100