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,560 points
2,505 views

1 answer to this question.

+1 vote

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 Apr 8, 2020 in Docker by MD
• 95,220 points
256 views
+2 votes
1 answer
+2 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
• 58,120 points
1,195 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,980 points
536 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
• 59,070 points
2,692 views