Problem
I decided to learn Docker and followed the official installation guide, specifically for ubuntu.
After downloading some images and making some containers to test how everything works, using CLI and Desktop App, found that my system ran out of memory.
Find out that a file called "Docker.raw" was created and consume 8.4GB of memory. The thing it's that I don't know for what is that file.
I have my disk space limit setted to 8GB, so don't understand the overlow:
Find out 2 things:
It's a common problem, on multiple systems.
Everybody recommend this command:
docker system prune -a --volumes
What I tried
I tried executing the command above, since it's the general answer for this problem, but doesn't work at all:
$ docker system prune -a --volumes
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all volumes not used by at least one container
- all images without at least one container associated to them
- all build cache
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
Doesn't free any space.
What I'm searching, if anyone can help
A confirmation that I can erase Docker.raw or not, since I don't find a clear answer if it's necesary for docker to work.
An alternative to clear the space, because the common solution didn't work.
Aditional Information
- OS: Ubuntu 22.04.2 LTS
- Docker: vr. 24.0.1, build 6802122
- Docker Compose: vr. 2.17.3
- Disk Size: 128GB
- Yes, my disk it's filled with many things and always fight with space, that's why I have problems with this new disk-space-eater and want to erase it.