dockerbuilder
dockerbuilder copied to clipboard
dockerbuilder should delete the image from the host once the push is done
reduces storage on the host
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.
moved to rc1
moving this to v2.0 cause of some weird behavior happening need to do more research on this
doesn't kubernetes automatically clean up stale images on the host?
I don't think it's a kubernetes issue. I think it's happening from docker end .
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.
Related to deis/builder#487.