Docker

Docker for Windows + Virtual Box

By admin, August 23, 2018

I decided to try Docker at the current version.

After reading the Readme file, just stated that it will not run along with VirtualBox in the same machine.

Once my job requires Virtual Box + Vagrant, a search for a solution came out to two different approaches:

1 – Install the old version of Docker called Docker Toolbox, which uses the VirtualBox VM;

2 – Install Docker as usual, but enabling and disabling The Windows Hiper-V feature from an elevated comand prompt:

# Run from elevated prompt (admin privileges)
bcdedit /set hypervisorlaunchtype off
And to start using Docker for Windows again, re-enable Hyper-V:

# Run from elevated prompt (admin privileges)
bcdedit /set hypervisorlaunchtype auto
You will need to reboot in both cases.

 

These references can be found in

View at Medium.com

https://fredrikaverpil.github.io/2018/03/15/switching-between-docker-and-virtualbox-on-windows-10/

Getting Docker:

https://store.docker.com/editions/community/docker-ce-desktop-windows