Docker volume error "Error response from daemon: unable to remove volume: remove DataVolume: volume is in use"

0 votes

I am trying to remove a volume from my system. I end up with the following error

Error response from daemon: unable to remove volume: remove DataVolume: volume is in use - [d0d2233b668eddad4986313c7a4a1bc0d2edaf0c7e1c02a6a6256de27db17a63]

I think this volume is being used by one of my containers. But I am not sure which.

Nov 25, 2019 in Docker by Hannah
• 18,030 points
410 views

1 answer to this question.

0 votes

Hi @Hannah,

The error mentions which container is using the volume you are trying to delete

Error response from daemon: unable to remove volume: remove DataVolume: volume is in use - [d0d2233b668eddad4986313c7a4a1bc0d2edaf0c7e1c02a6a6256de27db17a63]

The bolded section in the above line is your container's id which is using the volume.

What you can do is, remove the container and then delete the volume.

answered Nov 25, 2019 by Aria

Related Questions In Docker

0 votes
1 answer

docker: Error response from daemon: No volume store named (default) exists.

Hi@akhtar, By default, vic-machine create does not create ...READ MORE

answered 5 hours ago in Docker by MD
• 9,770 points
4 views
0 votes
1 answer
0 votes
1 answer

Docker error cannot delete docker container, conflict: unable to remove repository reference

First, remove the container names $ sudo docker ...READ MORE

answered Jul 31, 2018 in Docker by Kalgi
• 51,830 points
911 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 57,530 points
455 views
0 votes
1 answer

Docker is unable to connect to docker daemon

The problem here maybe is that you are not ...READ MORE

answered Sep 4, 2018 in Docker by Damon Salvatore
• 5,540 points
214 views
0 votes
1 answer

Docker: Error response from daemon: timeout was reached before the node joined

The above failure happens when the ‘manager’ ...READ MORE

answered Aug 28, 2019 in Docker by Sirajul
• 50,530 points
779 views