From 05b6cdab6cea6d3603e9ea846372a47340f2ceaa Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 3 Apr 2017 14:48:14 -0700 Subject: [PATCH] Do not force docker host VM on Darwin or Windows --- plugins/providers/docker/config.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/providers/docker/config.rb b/plugins/providers/docker/config.rb index 4f32b48e4..f47a906be 100644 --- a/plugins/providers/docker/config.rb +++ b/plugins/providers/docker/config.rb @@ -228,7 +228,9 @@ module VagrantPlugins # host VM. Other users can optionally disable this by setting the # value explicitly to false in their Vagrantfile. if @force_host_vm == UNSET_VALUE - @force_host_vm = !Vagrant::Util::Platform.linux? + @force_host_vm = !Vagrant::Util::Platform.linux? && + !Vagrant::Util::Platform.darwin? && + !Vagrant::Util::Platform.windows? end # The machine name must be a symbol