Free up space on the SD card: docker clean!

Hi everyone,

I just removed some old Docker images on my Raspberry Pi, which saved me almost 10 GiB!
I went from 81.4 GiB to 73.2 GiB.

With all the new Gladys releases, and therefore new images, shouldn’t we delete all the old images except N-1 and N-2 unless really necessary?
At a minimum, all the official Gladys images stored locally on the Pi.

Watchtower normally does the cleaning by itself.

Indeed, it seems to me that the -cleanup argument (off the top of my head) was added several months ago.

Indeed, it all depends on how you started Watchtower, you need the cleanup option otherwise you’ll end up with dozens of GB very quickly :laughing:

Indeed, it might be due to that, maybe a personal container.