Docker Installation
There are several Docker environments to choose from. In general, we suggest using and test our products with Docker Desktop. Please follow the installation guide on the Docker page. In order for Docker to run, we additionally need to enable WSL2, Hyper-V and CPU-Virtualization.
WSL 2 and Hyper-V
The fastest way to enable these services is to open Windows PowerShell in administrator mode and type in the following commands:
python
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
For WSL 2 please use:
python
wsl.exe --install
Alternatively, press the Start button, type "Turn Windows Features on or off" and enable Hyper-V and WSL2 in the dropdown list. If prompted, you do not need to download a specific Linux distribution, just downloading the kernel should be enough.
Info
If you are running a Windows Version older than Windows 10 patch 2004, or the solutions presented here did not work for some other reason, please look for more extensive guides on the internet.
Rebooting your system might be necessary for the changes to take effect.
Enabling CPU-Virtualization
Enabling CPU-virtualization in the BIOS is the trickiest part of this guide, since depending on the CPU and motherboard manufacturers it might be called differently and can be found in different locations.
First, enter the BIOS by pressing 'Delete' after a system reboot. If using 'Delete' does not work, please check other sources on how to enter the BIOS of your motherboard. 'F2' and 'F12' are other promising candidates.
Usually CPU-virtualization can be found in the Advanced section of the BIOS, then look for CPU Configuration.
AMD
If your system is running on an AMD CPU, the virtualization technology is usually called Hyper-V, SMV or AMD-V.
Intel
On Intel systems you are looking for Intel Virtualization Technology, or VT-X.
After enabling this option, save the changes and reboot your system. Now you should be able to start Docker Desktop without any error.
Authors
A product by dna-evolutions ©