Docker Storage Consumption
-
Hi there,
my Docker on Cloudron consume a lot of disk space and I wonder how to "clean" up?
This disk contains: docker 27.6 GB maildata 4.78 GB NextCloud 3.13 GB /apps.swap 2.02 GB platformdata 1.35 GB Matrix Synapse 83.54 MB AdGuard Home 25.71 MB Vaultwarden 7.88 MB Matrix Admin 5.99 MB boxdata 2.7 MB Translator 2.13 MB Dashboard Calender 1.59 MB OpenVPN 303.1 kB Syncthing 65.54 kB Webmail 57.34 kB Web Office 16.38 kB cloudron-backup 4.1 kB Everything else (Ubuntu, etc) 10.05 GB
My assumption is that the storage for Docker is related to updated images? Is there a standard Cloudron process to clean it up? Would it be safe to perform "docker images prune" command?
Thanks for any advice.
-
Running docker prune is safe, however Cloudron would purge unused images automatically, so most likely it won't free up much space.
Generally docker images are often quite large and we don't optimize images much for disk space but for convenience, to have a good environment to debug apps. -
@nebulon Thanks, you are right. It didn't free up any space. I had a look at the images and its already quite tidy. And it looks like libretranslate is consuming 50% of the storage. So my concern that its growing and growing is obolete
-
@Kubernetes if you think LibreTranslate is huge wait till you try out Mastodon
-
Also, in Cloudron 7.3.x, all the addons/services are still using the old base image (3.2.0) but the apps have all been updated now to use the new base image (4.0.0) . In 7.4, all the addon docker images are updated to 4.0.0. You will see some space savings after the update.
-
-
-