Making Game: Vmware and Dockers in same Windows 10 PC

Original Source Link

I would like to use Vmware and Dockers in my Windows 10 machine. Dockers requires Hyper-V while Vmware is angry about it. How to solve this conflict?

VMware and Hyper-V are both a
Hypervisor,
so each wants to control exclusively the virtualization features of the CPU,
resulting in that both cannot be setup on the same computer at the same time.

The only solutions I can see are:

  • Install VMware only, then create a Linux VM and run Docker inside, or
  • Install VMware together with the older
    Docker Toolbox on Windows
    which does not use Hyper-V and so there is no conflict
  • Install one or the other, uninstalling the one you are not using at the moment.

This is now possible after Windows 10 May 2020 Update (Build 19041) with WSL2

  • Install WSL 2 Linux Kernal
  • Turn on Virtual Machine Platform Windows Feature
  • Hyper-V, Windows Hypervisor Platform and Windows Sandbox should be turned off
  • Restart your PC
  • Set Default WSL version to WSL 2 by Running wsl --set-default-version 2 on PowerShell

Now you can use Docker, VMWare, Intel HAXM (For android emulator) at the same time if you want.

This will not work. VMware (V15.5.1) and Hyper-V (and then Docker and Sandbox) conflict. You must choose which Virtualization structure you will use and then do not use the other.

Tagged : / / /

Leave a Reply

Your email address will not be published. Required fields are marked *