1. Download and install Docker Desktop

image.png

  1. Access the Docker Desktop installation page.
  2. Click Windows - x86_64to download the Docker Desktop installation file.
  3. After running the installation file, check Use WSL 2 instead of Hyper-V and proceed with the installation.

<aside> 💡

Why use Docker?


2. Install WSL 2 (if required)

  1. Run PowerShell from the Start menu.

    image.png

  2. In PowerShell, type the command wsl --install.

    image.png

  3. After the installation is complete, restart your system.

  4. If it still doesn't work, please refer to the post below.

    1. https://docs.docker.com/desktop/troubleshoot-and-support/troubleshoot/topics/#docker-desktop-fails-due-to-virtualization-not-working
    2. https://dslyh01.tistory.com/39

3. Verify Docker Desktop WSL backend settings

  1. Run Docker Desktop.
  2. Go to Settings > Resources > WSL Integration.
  3. Make sure that the installed Ubuntu distribution is Enabled.

image.png

4. Run Docker Desktop