Merge pull request #7298 from till/t/docker-for-mac-beta
Change: disable the linux switch (Docker for Mac/Windows, etc.)
This commit is contained in:
commit
db1f98ffd6
|
@ -128,8 +128,7 @@ module VagrantPlugins
|
||||||
# rather than directly on our system. Docker needs to run in a VM
|
# 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.
|
# when we're not on Linux, or not on a Linux that supports Docker.
|
||||||
def host_vm?
|
def host_vm?
|
||||||
@machine.provider_config.force_host_vm ||
|
@machine.provider_config.force_host_vm
|
||||||
!Vagrant::Util::Platform.linux?
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the SSH info for accessing the Container.
|
# Returns the SSH info for accessing the Container.
|
||||||
|
|
Loading…
Reference in New Issue