Closed sameersbn closed 5 years ago
➤ Tárliton Godoy commented:
Hello, I had a problem similar to this. Here is what I found out:
If you create a container with this image, a volume will be created as well. This volume will contain the squid cache folder with it's contents. Because the way the squid cache works (and it's configured in the squid.conf https://github.com/sameersbn/docker-squid/blob/master/squid.conf#L2972), this folder will contains several small files. When you remove a container, it's volumes won't be removed and you can check that running this command:
docker volume ls -qf dangling=trueNow you are left with a folder with a bunch of small files. Over time, that will decrease the inodes left on your disk(source here) and you will get a message saying that there is no more space on the device.
You can either specify the volume you want to use and keep reusing it or you have to keep removing dangling volumes.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
gh seems to have somehow moved this squid issue here
After running a month the docker fails because its has not enough space on hard disk
The host machine has space in their hard drive.