Skip to main content

Docker Desktop on Windows 10 with WSL

113 words·
Windows Docker Desktop WSL

Prerequisites
#

Optional Features
#

  • Install the following Optional Features
# Run
optionalfeatures

# Enable the following features:
Containers
Hyper-V
  • Reboot the computer

Install WSL2
#

  • Open PowerShell with administrator privileges
# Install WSL2
wsl --install
  • Reboot the computer

Ubuntu VM
#

  • After the reboot an Ubuntu command prompt opens up, alternative just search “Ubuntu” and start it

  • Define a username and password for the WSL Ubuntu


Docker Desktop
#

Install Docker Desktop
#

  • Download an run the `Docker Desktop Installer
# Download Docker Desktop
https://www.docker.com/products/docker-desktop/
  • Install
  • Logoff & login into Windows
# Check Installation
docker --version

Docker Group
#

  • Make sure the Windows user is in the Docker group

Links #

shell