https://pulumi.com logo
#general
Title
# general
g

glamorous-printer-66548

09/27/2018, 12:48 AM
quick question: when an
docker.Image
resource is being deleted, does pulumi also delete the image also on the remote registry?
b

big-piano-35669

09/27/2018, 2:37 AM
It does not, but this is definitely something to ponder, especially if it's what you expected. It's a little scary because it would need to delete all versions of the image, I suppose, but perhaps we could have an option like
cleanup: true
or somesuch?
w

white-balloon-205

09/27/2018, 2:42 AM
Definitely worth opening an issue to track/discuss this!
g

glamorous-printer-66548

09/27/2018, 3:53 AM
I actually prefer if the image is not deleted, just wanted to know if I need to worry 🙂