A complete beginner-friendly guide to install WSL2, Ubuntu 24.04 LTS, and Docker Engine on Windows 11 with detailed explanations, screenshots, and troubleshooting.
This repository is designed for beginners who want to learn Docker by first creating a proper Linux environment on Windows.
Unlike many installation guides that only provide commands, this documentation explains:
- 📌 Why each step is required
- 📌 What every command does
- 📌 Expected output
- 📌 Common errors and solutions
- 📌 Screenshots for every major step
- 📌 Best practices
Whether you're a student, developer, or DevOps beginner, this guide will help you set up Docker correctly.
After completing this guide, you will be able to:
- ✅ Understand what WSL2 is
- ✅ Install Ubuntu 24.04 on Windows
- ✅ Configure a Linux user
- ✅ Install Docker Engine
- ✅ Verify Docker installation
- ✅ Run your first Docker container
- ✅ Use common Docker commands
- ✅ Troubleshoot installation issues
| Software | Version |
|---|---|
| Windows | Windows 11 |
| WSL | WSL2 |
| Ubuntu | 24.04 LTS |
| Docker | Docker Engine |
docker-wsl2-ubuntu-installation
│
├── README.md
├── LICENSE
├── .gitignore
│
├── docs
│ ├── 01-Prerequisites.md
│ ├── 02-Install-WSL.md
│ ├── 03-Install-Ubuntu.md
│ ├── 04-Create-Linux-User.md
│ ├── 05-Update-Ubuntu.md
│ ├── 06-Install-Docker.md
│ ├── 07-Verify-Docker.md
│ ├── 08-Docker-Basic-Commands.md
│ ├── 09-WSL-Basic-Commands.md
│ ├── 10-Troubleshooting.md
│ ├── 11-Uninstall.md
│ └── 12-FAQ.md
│
├── screenshots
│
└── images
| Step | Topic |
|---|---|
| 01 | Prerequisites |
| 02 | Install WSL2 |
| 03 | Install Ubuntu 24.04 |
| 04 | Create Linux User |
| 05 | Update Ubuntu |
| 06 | Install Docker Engine |
| 07 | Verify Docker Installation |
| 08 | Docker Basic Commands |
| 09 | WSL Basic Commands |
| 10 | Troubleshooting |
| 11 | Uninstall Guide |
| 12 | Frequently Asked Questions |
Windows 11
│
▼
Install WSL2
│
▼
Install Ubuntu 24.04
│
▼
Create Linux User
│
▼
Update Ubuntu
│
▼
Install Docker Engine
│
▼
Verify Docker
│
▼
Run Your First Container
This repository includes screenshots for every major installation step.
Examples include:
- WSL Installation
- Ubuntu Installation
- Docker Installation
- Docker Version
- Hello World Container
- Docker PS
- Docker Images
- Docker Info
This repository will continue to grow with additional Docker topics.
Planned content includes:
- Docker Images
- Docker Containers
- Dockerfile
- Docker Compose
- Docker Volumes
- Docker Networks
- Docker Bind Mounts
- Docker Hub
- Docker Registry
- Multi-stage Builds
Contributions are welcome.
If you find any issue or want to improve this guide:
- Fork this repository
- Create a new branch
- Make your changes
- Submit a Pull Request
This project is licensed under the MIT License.
If this repository helped you, please consider giving it a ⭐ on GitHub.
Happy Learning! 🚀