providers/docker: destroy built image on up

This commit is contained in:
Mitchell Hashimoto 2014-04-27 19:36:02 -07:00
parent 27cd8886b3
commit 8ed5351dd1
1 changed files with 1 additions and 0 deletions

View File

@ -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