Wednesday, November 21, 2018

Vagrant with Hyper-V

So by default when we think about Vagrant, we think virtual-box as default backend.
But if you are on windows 10 and using Hyper-V for some reason e.g. docker, it dosent really make any sense to disable Hyper-V and install Virtual box.
Rather you should just use Vagrant with Hyper-V.

Its really straight and simple, your vagrant up command will directly identify if you have Virtual box or Hyper-V as a provider and automatically spin up your box using that provider.

But there is a catch, which ever box image you are using should support provider Hyper-V.

Otherwise you will see error like below.









This is it for this post.

No comments:

Post a Comment

Installing ruby on rails with Apache on Ubuntu 16.04 LTS for production

Recently I decided to start with ROR and move away from PHP. So I decided to first setup production like environment for rails. And to my...