Hyper-v
Docker desktop on windows needs hyper-v to run the VM under docker. On some corporate environments docker installation fails due to either the power management or anti-virus features. You can still enable VMs without installing VirtualBox or VMWare Workstation by enabling hyper-v
Hyper-v can be enabled by selecting it and containers in ""enable windows components"
Run "hyper-v manager"
Virtual Networks
install an external virtual network see https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/connect-to-network
for 2 step networks https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/setup-nat-network
Virtual Machines
install ubuntu 20 - before starting up the machine switch the vCPU count from 1 to 6-14
MINGW64 ~ $ ssh ubuntu@192.168.20.128 ubuntu@192.168.20.128's password: Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-42-generic x86_64) ubuntu@ubuntuvm1:~$ history sudo apt install net-tools sudo apt-get install openssh-server
Running VMWare and Docker Desktop together
Until recently the hyper-v and vmware virtualization containers were in conflict. You switched from running docker via for example an ubuntu VM on VMWare and native docker desktop by enabling/disabling the hyper-v feature in windows.
Run the following enable native docker via the WSL (Windows Subsystem for Linux) - https://docs.microsoft.com/en-us/windows/wsl/install-win10
https://superuser.com/questions/1520079/vmware-and-dockers-in-same-windows-10-pc
Enable Windows Subsystem for Linux
https://docs.microsoft.com/en-us/windows/wsl/install-win10
PS C:\WINDOWS\system32> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart Deployment Image Servicing and Management tool Version: 10.0.18362.1 Image Version: 10.0.18362.836 Enabling feature(s) [==========================100.0%==========================] The operation completed successfully. winver 1903.18362 must be 2004.19041
Delaying the windows update - for VMs you do not want to reboot
https://www.easeus.com/partition-manager-software/how-to-stop-windows-10-update-in-progress.html
Troubleshoot Network Issues post attaching a hyper-v external network
network reset, reboot, disable, enable
Bridging Networks to get over 1gbps - not LAG
Windows 10 supports automatic bridging (not Link Aggregation) and will distribute the network workload over 2 or more network connections - ideally they are on separate switches. For example I can get 2gbps using 2 adapters.
Windows Software
https://downloadcenter.intel.com/product/66427/Intel-Extreme-Tuning-Utility-Intel-XTU-