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

docker

(Will Grosett) #1

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

(Jeff Atwood) #2

You can use virtualbox on Windows 8.1 just fine.

https://www.virtualbox.org/wiki/Downloads

I would not recommend trying to use HyperV here.


(Felix Freiberger) #3

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.


(Will Grosett) #4

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.