Answer the question
In order to leave comments, you need to log in
Painless migration from vagrant to docker on Windows?
Why do I need this : I want to simplify my life even more. Vagrant is cool, but if you change something in the config, or update some packages, you need to remember to do it in production as well, and I often forget. If I understand correctly, one of the docker features is an easy deployment of the container, in which the software and configs will be identical to those used during development.
Another cool feature that is more difficult to implement with Vagrant is the quick replacement of some packages (php, nginx etc) to check if the bug is gone, if performance has improved, if backward compatibility has broken, etc.
snagA: All my current and past projects use Virtualbox as a provider to Vagrant. Docker requires Hyper-V. And Virtualbox and Hyper-V are incompatible for obvious reasons. That is, if you enable Hyper-V support, Virtualbox will not start.
I would love to start a new project using Docker. But you also need to support old projects. Turning Hyper-V on and off every time and rebooting the host machine is not an option. There are two options left:
Answer the question
In order to leave comments, you need to log in
About directory D:\Projects
Open Virtualbox and mount disk D in your virtual machine:
Name|Disk|Auto connection|Access
d/ | D: | Yes |Full
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question