This guide walks you through installing Docker Desktop on a Windows 10/11 machine, enabling WSL 2, and running the official
ubuntuimage interactively using thedocker run -it ubuntucommand.
| Requirement | Minimum Version / Detail |
|---|---|
| Windows 11 | 64‑bit, Home/Pro/Education, version 22H2+ |
| Windows 10 | 64‑bit, Home/Pro/Education, 22H2 (build 19045) or later |
| WSL 2 (Linux kernel) | Version 2.1.5+ installed and enabled |
| Hardware virtualization | SLAT support enabled in BIOS/UEFI with ≥ 4 GB RAM |
Docker Desktop requires Windows 10/11 with build 19045 or later and WSL 2 version ≥ 2.1.5 to work correctly :contentReference[oaicite:0]{index=0}.
Open PowerShell as Administrator and run:
wsl --install # Installs WSL + Ubuntu distro on both Windows 10 and 11
# Or:
wsl --update # If WSL is already installed but needs updating
## Post installing Docker
1)run cmd or powershell
2)docker pull ubuntu
3)docker run -it ubuntu