- Create a directory at C:\docker
- Add C:\docker to your PATH environment variable
- Go directly download docker-machine and extract the executables into C:\docker. I used v0.5.0-rc2. If docker-machine-driver-hyperv.exe is not in the download, go find it somewhere and put it in C:\docker.
- Go download the docker client and move it to C:\docker\docker.exe
- Copy (not rename) docker-machine-driver-hyperv.exe to docker-machine-driver-hyper-v.exe
- Go to your terminal and run
docker-machine create -d hyperv dockervm
eval "$(docker-machine env dockervm)"
docker run hello-world
Update: 2015-11-11 – I’ve finished porting over the PHP 7 branches of settler and homestead. If you want to use PHP 7, follow the instructions on the standard Laravel docs site and here, except use
johnpbloch/homestead-7 as your box instead of
Hello my friend,
I see repository on github about hyperv configuration to vagrant up. What are the commands to start the new machine on HyperV?
I really can’t see any good reason not to share the info with the rest of the world too, so I figured I’d put it in a blog post for the edification of everybody. Continue reading
- HyperV is a native virtualization hypervisor for Windows Operating systems. It uses SMB shares by default for mounted directories, which are way faster than VBox shared directories. In general, it blows virtualbox out of the water in terms of performance.
At some point, I’ll need to write about even using it with Vagrant at all. ↩