Space issues on a Raspberry Pi

Hi there,

*Background *

My device is full and showing that al 14G is being used.

image

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.

image

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.

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

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.

Sorry, I have no idea what may have caused it then.

Backups?
Apparently backups take up a lot of space.

/backup