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?
2 Answers
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!
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!
Totally agree, WSL is much smoother for running Docker. It really makes life easier!