Running Docker in Windows Virtual Machine

Using:

  • Docker Desktop for Windows 10
  • MobaXterm to RDP into a Windows 10 VM
  • Selenium 3.141.59

I’m currently trying to run a selenium Grid within a docker container and I’m encountering some issues. I have both Hyper-V and Containers enabled on both my PC and the VM.

The problem is that unlike my previous coworkers, I’m using a Windows VM instead of a Linux one. When I try to run docker within the virtual machine it says that I need to enable nested virtualization.

Is this correct or should I not even be running Docker on the VM and instead on my physical machine?

Source: StackOverflow