Environment
- Windows 10 / 11 (64-bit)
Steps
1. Install WSL2
wsl --install
Restart Windows when done.
2. Download Docker Desktop
Go to https://www.docker.com/products/docker-desktop and click “Download for Windows”.
3. Install
Make sure “Use WSL 2 instead of Hyper-V” is checked. Restart after installation.
4. Verify
docker --version
docker run hello-world
Common Issues
Virtualization not enabled in BIOS
Enable Intel VT-x or AMD-V in your BIOS settings.
WSL2 not installed
wsl --install
wsl --update
Basic Commands
docker ps # List running containers
docker ps -a # List all containers
docker stop ID # Stop a container
docker rm ID # Remove a container