dockerbuilder icon indicating copy to clipboard operation
dockerbuilder copied to clipboard

dockerbuilder should delete the image from the host once the push is done

Open smothiki opened this issue 8 years ago • 7 comments

reduces storage on the host

smothiki avatar Mar 01 '16 18:03 smothiki

I'm reopening this for beta4, since it was reverted in https://github.com/deis/dockerbuilder/pull/53 (in response to https://github.com/deis/dockerbuilder/issues/52).

The issue with the change in https://github.com/deis/dockerbuilder/pull/39 was that client.remove_image(image=registry+'/'+imageName, force=True, noprune=False) was removing the image from the registry, not the local docker daemon.

I think, but am not sure (and haven't tested) that client.remove_image(image=imageName, force=True, noprune=False) will delete the image from the local docker daemon.

arschles avatar Apr 27 '16 17:04 arschles

moved to rc1

jchauncey avatar May 10 '16 15:05 jchauncey

moving this to v2.0 cause of some weird behavior happening need to do more research on this

smothiki avatar May 23 '16 22:05 smothiki

doesn't kubernetes automatically clean up stale images on the host?

bacongobbler avatar Aug 15 '16 14:08 bacongobbler

I don't think it's a kubernetes issue. I think it's happening from docker end .

smothiki avatar Aug 15 '16 17:08 smothiki

related to this issue's interests would be https://github.com/deis/charts/pull/352 which we could potentially pull in as a Workflow component eventually with some tweaking.

bacongobbler avatar Sep 20 '16 14:09 bacongobbler

Related to deis/builder#487.

felixbuenemann avatar Mar 08 '17 04:03 felixbuenemann