providers/docker: destroy built image on up
This commit is contained in:
parent
27cd8886b3
commit
8ed5351dd1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue