Closed amc-corey-cox closed 1 month ago
First I needed to free up a bit of disk space, which I did be deleting all docker logs.
find /var/lib/docker/containers/ -type f -name "*.log" -delete
Then I removed all dangling objects.
docker system prune --volumes --all
This allowed me to clear the space. I'll need to keep a track on this in the future.
I just logged in and noticed that almost all of the disk space had been used. Digging a bit deeper it appears that var/lib/docker is using a lot of space, especially in overlay2.
I think this may also be why the system has been occasionally crashing when left running for a long time.