Using Docker and VirtualBox parallelly on Windows 10

Docker uses the Hyper V functionality so it has to be enabled for Docker to work properly. However, the Hyper V functionality has to be disabled for VirtualBox to work . So this needs to be disabled before you can run VirtualBox.

But there is way to use both parrallely in windows 10. So each time you have to open powershell with admin privileges and after executing the command each time you have to restart the computer.

To disable Hyper-V in order to run Virtual Box use :

bcdedit /set hypervisorlaunchtype off

To turn Hyper-V back in order to use docker run use :

bcdedit /set hypervisorlaunchtype auto

Another way is to use docker toolbox . It uses VirtualBox and then you won’t need Hyper-V but above one is the recommended method.

I’m an undergraduate student at IIIT Ranchi, pursuing my B-Tech in Electronics and Communication Engineering.