From 8ed5351dd1503ebb0dda970f521f3fa208d78909 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 27 Apr 2014 19:36:02 -0700 Subject: [PATCH] providers/docker: destroy built image on up --- plugins/providers/docker/action.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/providers/docker/action.rb b/plugins/providers/docker/action.rb index 5d635b875..3c84e9951 100644 --- a/plugins/providers/docker/action.rb +++ b/plugins/providers/docker/action.rb @@ -37,6 +37,7 @@ module VagrantPlugins b.use Call, IsState, :not_created do |env, b2| if env[:result] b2.use HandleBox + b2.use DestroyBuildImage end end