Docker images get removed

Hello !

I have a cluster of 20+ workers, which “sometimes” run a specific docker image. Eventually, at some point in time they are not running instances of that image. For some reason, that image is deleted when I do docker images.

That image is heavy (5+ GB). I don’t want it to be removed. It is used many times, even if just for short tasks.

What is the policy regarding image cleanup ? Is there any way to specify exceptions to that rule, or disable the cleanup at all ?

Best regards,


K8s as is own cleanup subsystem…

You should probably look at the Kubernetes garbage collection system: