Installing Discourse on Win 8.1 development machine that has enabled hyperv so can't use Virtualbox

AI 生成的摘要

Will_Grosett sought guidance on installing Discourse locally on a Windows 8.1 development machine with Hyper-V enabled, which prevents the use of VirtualBox. The user attempted to configure Vagrant to use the Hyper-V provider but encountered an error where the downloaded Discourse box was incompatible, specifically designed for VirtualBox. codinghorror initially suggested that VirtualBox works fine on Windows 8.1 and advised against using Hyper-V. However, fefrei clarified the core issue: enabling Hyper-V on the host OS disables hardware virtualization support required by VirtualBox. Acknowledging this constraint, Will_Grosett concluded that the most viable solution for now is to temporarily disable Hyper-V when working on Discourse, despite the inconvenience of switching between modes.

Newbie to Discourse, very new to Docker as well so hopefully this isn’t a stupid question.

I’ve enabled hyperv - I’m running a Windows 8.1 development machine, which stops me from being able to use Virtualbox - is there a simple way to get up and running with Discourse locally using a Docker hyperv provider?

Any pointers to other documentation would be great.

Thanks

Edit:

I tried switching the provider in the vagrant config but this simply says that the box it downloads is for a Virtualbox provider

>     H:\vagrant\discourse\discourse>vagrant up
>     Bringing machine 'default' up with 'hyperv' provider...
>     ==> default: Verifying Hyper-V is enabled...
>     ==> default: Box 'discourse/discourse-1.3.0' could not be found. Attempting to f
>     ind and install...
>         default: Box Provider: hyperv
>         default: Box Version: >= 0
>     ==> default: Adding box 'discourse/discourse-1.3.0' (v0) for provider: hyperv
>         default: Downloading: http://discourse-vms.s3.amazonaws.com/discourse-1.3.0.
>     box
>         default: Progress: 100% (Rate: 1771k/s, Estimated time remaining: --:--:--)
>     The box you attempted to add doesn't match the provider you specified.

>     Provider expected: hyperv
>     Provider of box: virtualbox

You can use virtualbox on Windows 8.1 just fine.

I would not recommend trying to use HyperV here.

I think his problem is that he has HyperV enabled for other purposes. Since his host OS runs under HyperV now, he no longer has access to hardware virtualization support, which VirtualBox desperately wants.

Yep, that is exactly my problem.

Edit:
@codinghorror and @fefrei - for now, I guess my only/best option is to disable hyper-v when working on Discourse, bit of a pain for switching but will survive - thanks.