When I'm trying to remove a volume I get this error:
Error response from daemon: remove myvol: volume is in use - [2a177cb40a405db9f245fccd776dcdeacc d266ad624daf7cff510c9a1a1716fe]
But both docker ps
and docker container ls
return an empty list.
I've tried restarting the docker deamon.
I use Docker Toolbox on Windows 10.
try to delete all stopped containers:
then delete the volume
you can see stopped container using
docker ps -a
usingdocker ps
will return only running containersEDIT since you are on Windows
list stopped containers:
delete the stopped container - you need to replace CONATINER_ID with your real ones -: