Why is my Docker system prune command taking so long?
Asked by
!44NiceReturn
I've been running low on disk space, so I executed the command `docker system prune -a --volumes`. It's been over an hour now, and the process still hasn't completed. Can anyone explain why this might be happening?
Answers
Honestly, I'd recommend avoiding Docker Desktop if you can. Like someone mentioned, it can be a hassle. On Windows, using WSL to run Docker is a more efficient option, and it operates like it's on Linux. It's definitely worth considering to save yourself some headaches!
Reply to this answer
If you're using Docker Desktop on Mac or Windows, running out of disk space can cause issues. Essentially, the Docker Desktop virtual machine gets stuck when it's full, which makes commands like this take forever. A quick reboot usually helps speed things back up!
Reply to this answer
Add your answer
Answers are reviewed before publication.
tileQ.6: Totally agree, WSL is much smoother for running Docker. It really makes life easier!