Hi there,
*Background *
My device is full and showing that al 14G is being used.
When I try to find what is actually using the space I can’t seem to find anything that is actually using all that space.
Requirement
Does anyone know what I can do to find what is actually taking up this space so that I can clean it up
It is possible that the space is occupied by another folder.
Recently I observed a quick significant disk usage; it was “/var/lib/docker/”. Had to delete all containers & images and then redownload/recreate.
jchh
((not John))
December 18, 2023, 9:29am
3
Are you running HA container? It may be all the previous images that you haven’t cleared out.
I always delete old unused images after each update. That is why I was surprised when I realized such a large size. (not an expert in Docker)
This command was advised to delete unused images:
sudo docker rmi $(sudo docker images -f dangling=true -q)
But I usually do it manually:
sudo docker images -a
sudo docker rmi xxxxxxxxxxx
jchh
((not John))
December 18, 2023, 9:59am
5
I thought the command was:
docker image prune -a
…are you sure the images were actually deleted?
Edit: OK, I can see what you are doing. That will delete each one individually. “My” command will delete them all in one go.
So, I have no idea what could left in the docker folder after deleting images…
Anyway, this fast disk usage growth happened only ones, had no time to dig the problem deeper.
jchh
((not John))
December 18, 2023, 10:08am
7
Sorry, I have no idea what may have caused it then.
pcwii
(Pcwii)
December 18, 2023, 12:09pm
8
Backups?
Apparently backups take up a lot of space.
/backup