QuestionQ31Verified/Container VirtualizationCopy linkReport a problemAsk AstroTutorSave questionWhich of these commands removes all volumes that are not associated with a container?Adocker volume cleanupBdocker volume orphan -dCdocker volume pruneDdocker volume vacuumEdocker volume garbage-collectShow AnswerAnswerExplanationdocker 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 moredocker volume prune | Docker DocsShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion