Make sure virtualisation is enabled
First things first. Let’s make sure your PC is ready for virtualisation.
Open task manager (1) and go to the performance tab, and select CPU (2)
- Open Task Manager
- CPU settings
If your PC Virtualisation is enabled, continue to the next step.
If it’s disabled, like in the image above, you must enable it in your BIOS. Accessing BIOS depends on your PC manufacturer. If you don’t know how to enable it in BIOS, feel free to contact me, and I will gladly assist you.
Install WSL
Go to the start menu and open Command Prompt (1)
- Command Prompt
In the command prompt console (2), type
wsl --install
- WSL install command
Sometimes, installation does not start right away, and the process is stuck at Installing (3). The only thing you have to do is to restart your PC
- The process is stuck in the Virtual Machine Platform
Installation will show progress (4) until it’s done (5). Then you have to restart your PC
- Progress bar
- The process is finished
After a restart, you will be prompted with the Ubuntu download (6) just let it finish
- Downloading Ubuntu
Turn Windows features on
Got to start many and type Turn Windows features on or off (1)
- Turn Windows features on or off
Make sure that both of the following features are checked:
- Check the box next to “Hyper-V”.
- Check the box next to “Windows Subsystem for Linux” (WSL).
Install Docker
Go to the link https://docs.docker.com/desktop/setup/install/windows-install/ and download Docker for Desktop.
Start installation with selected options (1)
- Docker Configuration
After installation is completed, you can restart your PC (2)
- Docker finished the setup
After a restart, you will have to run Docker and accept the Service Agreements (3)
- Accept Service Agreement
In the next step, Docker asks you to log in or create an account. You can skip this step (4) and go straight to the last screen (5).
- You can skip creating an account
- Succesfuly installed Docker