You are currently viewing Install WINDOWS WSL and Docker Desktop

Install WINDOWS WSL and Docker Desktop

This is how you create the prerequisites for running Docker. Installing WINDOWS WSL and Docker Desktop – it’s that easy!

Requirements

  • Windows 10 version 2004 (build 19041) or newer
  • or Windows 11

I am demonstrating this here with Windows 10 so that you can see that it is not necessary to update to Windows 11.

Virtualization must be enabled in both Windows versions. If you receive error messages regarding this, check the settings in your computer’s BIOS and in Windows.

Video: Install WINDOWS WSL and Docker Desktop

Language: 🇩🇪
☝️ Use YouTube subtitles for all languages.

Install WSL (recommended: WSL 2)

We’ll take the easy route here via the Microsoft Store:

  1. Open the Microsoft Store.
  2. Search for Windows Subsystem for Linux or use this direct link:
    https://www.microsoft.com/store/productId/9P9TQF7MRM4R
  3. Click Install and wait until the installation is complete.
  4. Restart your computer.

Linux for WSL

You can download the actual Linux distribution or version from the Microsoft Store.

  • Open the Microsoft Store.
  • Search for Linux.
  • Select a distribution such as Ubuntu, Kali, Debian, or another of your choice.
    Make sure that WSL is supported in the description.
    You cannot use an image that you have previously downloaded manually from a distributor.
  • Start Linux via the Start menu or via the button in the Microsoft Store window.
  • Set up a user and assign a password.
    (Note: Nothing is displayed when you enter the password – no letters and no asterisks!)

Check the version of WSL

With the command:

wsl --status

You should see the following output:

Standarddistribution: Ubuntu-24.04
Standardversion: 2

If you have installed a different distribution, the name of your distribution will of course be displayed instead of ‘Ubuntu-24.04’.


Set up Docker Desktop for WINDOWS

Requirements

  • Windows 10 (version 2004 or higher, build 19041) or Windows 11
  • WSL2 is correctly installed (as described above)
  • A Linux distribution (e.g., Ubuntu) is installed
  • Virtualization is enabled in the BIOS (VT-x / AMD-V), as mentioned above or in the video

Download and install Docker Desktop

The download is ideally done via the Microsoft Store. Alternatively, you can also download Docker Desktop directly from the official website:
https://www.docker.com/products/docker-desktop/

Here’s how to do it:

  • Open the Microsoft Store.
  • Search for “Docker Desktop.”
  • Click “Download” and install the program.
  • During installation, you will be asked to create a Docker account. All you need is an email address and a password.
  • Confirm your email address via the message sent to you by Docker.

Update Linux

Start your Linux console via the Start menu. Alternatively, you can open a PowerShell window and use the command

wsl

Switch to your Linux distribution.

Then execute the following commands one after the other:

sudo apt update  
sudo apt upgrade  
sudo apt autoremove  
sudo apt autoclean

Alternatively, you can do everything in a single command line:

sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean -y

That’s it – your system is now up to date.

In the next video, we will install the “Paperless” project as the first application. I will make the video available shortly.

Link to support / donation for the channel
PayPal Link
Bank transfer, Bitcoin and Lightning

#WSL #WSL2 #Docker #DockerDesktop #WINDOWSdocker #DockerWINDOWS

Leave a Reply