# Pruning Volumes

> How do you remove unused Docker volumes, and how do you make sure you do not delete data you still need?

Canonical: https://www.internhack.in/learn/interview/docker-containers/docker-volume-prune
Last updated: 2026-11-28

Difficulty: Beginner

## Question

How do you remove unused Docker volumes, and how do you make sure you do not delete data you still need?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

docker volume prune, Anonymous volumes, Named volumes, Dangling volumes, Data safety

Previous: [Docker Top](https://www.internhack.in/learn/interview/docker-containers/docker-top-command) · Next: [Copying Files](https://www.internhack.in/learn/interview/docker-containers/docker-cp-command) · [All of Docker & Containers](https://www.internhack.in/learn/interview/docker-containers)

## More Docker & Containers questions

- [Docker Commit](https://www.internhack.in/learn/interview/docker-containers/docker-commit-command)
- [Image History](https://www.internhack.in/learn/interview/docker-containers/docker-history-command)
- [User Namespaces](https://www.internhack.in/learn/interview/docker-containers/docker-user-namespace-remapping)
- [HEALTHCHECK](https://www.internhack.in/learn/interview/docker-containers/docker-healthcheck-instruction)
- [Tmpfs Mounts](https://www.internhack.in/learn/interview/docker-containers/docker-tmpfs-mounts)
- [Compose Scaling](https://www.internhack.in/learn/interview/docker-containers/docker-compose-scaling)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Docker & Containers](https://www.internhack.in/learn/interview/docker-containers)
