Scheduled Docker cleanup: Exclude certain images #7376
alvarolozano
started this conversation in
Improvement Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I use coolify for an small server, and it easilly becomes full of storage. For that reason, I enabled the scheduled docker cleanup option.
The only problem, is that it removes some "internal" images/layers. The main one, is the nixpack build container images, so every day, it cleans it, and when triggering a new buid, it re-downloads and compiles the nix images and packages from scratch, and also the cache mount for PNPM gets removed.
I don't really understand how the process is triggered, but Docker prune has advanced options for excluding https://docs.docker.com/reference/cli/docker/image/prune/#filter
All reactions