If you decide you want to try out Docker on your Windows machine and already have VMWare Workstation installed, you will be in for an unexpected treat the next time you attempt to start one of your VMs:
As it turns out, Docker for Windows relies on Hyper-V (Microsoft's virtualization technology) which is a completely incompatible hypervisor with VMWare. If you do some searching on the VMWare site, they are happy to show you how to totally remove Hyper-V in a knowledge base article.
If you want to do something a little less drastic, and alternate between the two products, you can simply disable Hyper-V.
Disable Hyper-V:
bcdedit /set hypervisorlaunchtype off
reboot Windows
(now VMWare will work, and Docker will not)
Enable Hyper-V:
bcdedit /set hypervisorlaunchtype auto
reboot Windows
(now Docker will work, and VMWare will not)
Make sure to run those commands from a command prompt that has been launched as administrator. Not ideal by any stretch of the imagination, but if you are looking to have both capabilities on a dev workstation, this will get you through...
No comments:
Post a Comment