Skip to content

DevDRavi/docker-wsl2-ubuntu-installation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Ubuntu WSL2 Windows License

🐳 Docker Installation on Windows 11 using WSL2 & Ubuntu 24.04

A complete beginner-friendly guide to install WSL2, Ubuntu 24.04 LTS, and Docker Engine on Windows 11 with detailed explanations, screenshots, and troubleshooting.


📖 About this Repository

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.


🎯 What You Will Learn

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 Used

Software Version
Windows Windows 11
WSL WSL2
Ubuntu 24.04 LTS
Docker Docker Engine

📂 Repository Structure

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

📚 Documentation

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

🏗 Installation Workflow

Windows 11
     │
     ▼
Install WSL2
     │
     ▼
Install Ubuntu 24.04
     │
     ▼
Create Linux User
     │
     ▼
Update Ubuntu
     │
     ▼
Install Docker Engine
     │
     ▼
Verify Docker
     │
     ▼
Run Your First Container

📸 Screenshots

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

📌 Future Improvements

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

🤝 Contributing

Contributions are welcome.

If you find any issue or want to improve this guide:

  1. Fork this repository
  2. Create a new branch
  3. Make your changes
  4. Submit a Pull Request

📄 License

This project is licensed under the MIT License.


⭐ Support

If this repository helped you, please consider giving it a ⭐ on GitHub.

Happy Learning! 🚀

About

Complete Beginner Guide to Install WSL2, Ubuntu 24.04 and Docker Engine on Windows 11 with Step-by-Step Instructions, Screenshots and Troubleshooting.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors