QuestionQ31

VerifiedContainer Virtualization

Which of these commands removes all volumes that are not associated with a container?

Explanation

docker volume prune is Docker’s command for removing unused local volumes, meaning volumes that are not referenced by any container. In current Docker versions, the --all option also includes unused named volumes.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!