Change: disable the linux switch (Docker for Mac/Windows, etc.)

This commit is contained in:
till 2016-05-08 21:35:12 +02:00
parent 788bd557c4
commit 647bd6114c
1 changed files with 1 additions and 2 deletions

View File

@ -128,8 +128,7 @@ module VagrantPlugins
# rather than directly on our system. Docker needs to run in a VM
# when we're not on Linux, or not on a Linux that supports Docker.
def host_vm?
@machine.provider_config.force_host_vm ||
!Vagrant::Util::Platform.linux?
@machine.provider_config.force_host_vm
end
# Returns the SSH info for accessing the Container.