diff --git a/plugins/providers/docker/action.rb b/plugins/providers/docker/action.rb index b41d39810..7ce88d0ae 100644 --- a/plugins/providers/docker/action.rb +++ b/plugins/providers/docker/action.rb @@ -117,8 +117,12 @@ module VagrantPlugins b2.use Call, IsBuild do |env2, b3| if env2[:result] - b3.use EnvSet, force_confirm_destroy: true - b3.use action_destroy.flatten + b3.use ConfigValidate + b3.use EnvSet, force_halt: true + b3.use action_halt + b3.use HostMachineSyncFoldersDisable + b3.use Destroy + b3.use ProvisionerCleanup end end