

- LAUNCH DOCKER HYPERKIT WITH MORE CPU COURES INSTALL
- LAUNCH DOCKER HYPERKIT WITH MORE CPU COURES WINDOWS
Now instead I have two WSL distros running which I can see by running wsl -l -v. Once I Apply & Restart docker will restart and my DockerDesktopVM will no longer be running. To enable the WSL engine, I just need to go to Settings -> General and turn on Enable the experimental WSL 2 based engine. So that's a quick overview of how things work running docker in Hyper-V, now let's see how things are different with WSL. If I open up docker desktop Settings->Resources tab, I'll see the same settings and from here I can manually configure those available resources. Get-VMProcessorĪnd if I run docker info I can see that those are the resources available to my docker server. In my case docker has assigned 2GB of memory to the VM and if I run Get-VMProcessor I can see that my docker VM has two processors assigned. If you run Get-VM from PowerShell you can see that VM has the rather un-mysterious name DockerDesktopVM.
LAUNCH DOCKER HYPERKIT WITH MORE CPU COURES INSTALL
LAUNCH DOCKER HYPERKIT WITH MORE CPU COURES WINDOWS
Thanks to the Windows Subsystem for Linux 2 though it's now possible to run docker in a WSL distribution and avoid the need for Hyper-V altogether. Assign too many and you'll lose access to those resources from your Windows OS, assign too few and you'll see performance issues in your containers. The CPU and memory resources allocated to the Hyper-V VM and therefore to your docker containers must be managed by you.Hyper-V requires Windows Professional, a ludicrous limitation, which made docker (and lots of other great tools) unavailable to Windows Home users.There are at least two, and probably more, problems with this approach: Running Docker on Windows has been easy for a long time, but it has always needed to run inside a Hyper-V virtual machine.
