Hello folks!
My docker stack has been running for quite some time, and recently i updated the host from debian 12 to debian 13. Things ran well, until today, on a reboot, docker won't start or anything. after investigating, i find that the drive is full.
Main culprits for disk hogging are in /var/lib/docker :
22G ./overlay2
73G ./containers
I started docker manually, and can run docker system df :
root@sanakan:/var/lib/docker# docker system df
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 41 41 19.13GB 0B (0%)
Containers 43 36 269.7MB 1.578MB (0%)
Local Volumes 24 12 260.3MB 22.87MB (8%)
Build Cache 0 0 0B 0B
I managed to reclaim 2G by removing dangling images, but somehow ./overlay2 grew to 34G when i do a du -h | grep '[0-9\.]\+G' .
I don't really know what i should do. Portainer did not start, some containers started but not all, and i don't know where to go from here.
Any insights?
thanks in advance!
EDIT1 :
i stopped a docker (unifi thing, stopped it with docker compose down, it was the only docker stack that was new , at 9 days, all the others ran for years), and it gave me back 17GB, so other dockers can run properly.
I got 17G on the filesystem back once it stopped.
EDIT2 :
So, after a message of u/burstinrust i investigated the logs, and i have 53G of logs, i am trying to figure out how to remove said logs, and then how to limit logfile size.