Docker Community Forums

Share and learn in the Docker community.

How can I remove a VOLUME that is orphaned


(Ralph Kincade) #1

How can I remove a VOLUME that is orphaned ? how can I find it if the CONTAINER is removed and i can’t do a docker inspect to find out where it is ???


(Jeff Anderson) #2

Hello,

For now, there is the docker-volumes tool: https://github.com/cpuguy83/docker-volumes

It allows you to do several operations with regard to volumes: ls, inspect, export, import, and rm. It can indeed be used to remove orphaned volumes.

This tool is the basis of the work for this same feature set, which is slotted to be included in docker 1.9: https://github.com/docker/docker/pull/8484, https://github.com/docker/docker/pull/14242

/Jeff