# Docker images get removed

**URL:** <https://forums.suse.com/t/docker-images-get-removed/13664>\
**Category:** SUSE Rancher Prime\
**Created:** [March 18, 2019, 9:30am UTC](https://forums.suse.com/t/docker-images-get-removed/13664 "2019-03-18T09:30:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudmota](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/sudmota/32/4782_2.png) [@sudmota](https://forums.suse.com/u/sudmota)\
**Post date:** [March 18, 2019, 9:30am UTC](https://forums.suse.com/t/docker-images-get-removed/13664/1 "2019-03-18T09:30:11Z")

</div>

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,

Sudmota

---

<div class="post-metadata">

**Author:** ![Stonedge](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@Stonedge](https://forums.suse.com/u/Stonedge)\
**Post date:** [March 18, 2019, 5:33pm UTC](https://forums.suse.com/t/docker-images-get-removed/13664/2 "2019-03-18T17:33:40Z")

</div>

K8s as is own cleanup subsystem…

You should probably look at the Kubernetes garbage collection system: [https://kubernetes.io/docs/concepts/cluster-administration/kubelet-garbage-collection/](https://kubernetes.io/docs/concepts/cluster-administration/kubelet-garbage-collection/)

Stonedge
