I recently created a mongodb docker instance running on boot2docker on windows.
Unfortunately during my experimenting with kitematic I managed to accidentally remove
This answer is probably just a rewrite of @VonC's, but I feel the need to sum things up a bit. Here are the steps I followed in order to put back a volume that got 'detached' after the container had been removed and recreated.
docker volume ls -f 'dangling=true'
to see all detached volumesdocker volume inspect
on each to see where they sit (/var/lib/docker/volumes/
in my case)/_data
folder to guess who's who.docker volume prune
will remove all dangling volumes (and therefore make a potential future search for the right dangling volume easier ^^)