π¬ "Youβve decided to board the Docker ship β now letβs make sure your machine is ready to sail. Donβt worry, this wonβt hurt. Iβve got snacks, screenshots, and sanity-saving tips."
π» What Weβll Do in This Episode
By the end of this episode, youβll:
- Know how to install Docker on Windows, macOS, and Linux
- Run your first container (yes, already!)
- Troubleshoot common issues without breaking your screen π§ββοΈ
πͺ Installing Docker on Windows
β Requirements
- Windows 10/11 (Pro, Enterprise, or Education) with WSL 2 enabled
- 4 GB+ RAM recommended
π¦ Steps
- Download Docker Desktop: https://www.docker.com/products/docker-desktop/
- Install and follow the prompts (it may ask for WSL 2 install β allow it)
- Reboot your system (seriously, donβt skip this)
β Check it works:
docker --version docker run hello-world You should see: Hello from Docker!
βTroubleshooting:
- Enable virtualization in BIOS
- Make sure WSL 2 is installed & default:
wsl --set-default-version 2 - Docker stuck on starting? Restart system + Docker Desktop
π Installing Docker on macOS
β Requirements
- macOS 11+ with Apple Silicon or Intel
- 4 GB+ RAM
π¦ Steps
- Download Docker Desktop for Mac: https://www.docker.com/products/docker-desktop/
- Drag & drop into Applications folder
- Launch Docker, accept permissions
β Check it works:
docker --version docker run hello-world π§ Installing Docker on Linux (Ubuntu/Debian)
π¦ Terminal Commands:
sudo apt update sudo apt install ca-certificates curl gnupg sudo install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \ https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt update sudo apt install docker-ce docker-ce-cli containerd.io sudo usermod -aG docker $USER β Restart your system or log out/in.
β Test It:
docker run hello-world π First Container = First Win
Letβs make it official. Run this command:
docker run hello-world If you see:
Hello from Docker! This message shows that your installation appears to be working correctly. You, my friend, have just run your first Docker container. π₯³
π§ What Just Happened?
That hello-world container:
- Pulled an image from Docker Hub (like a recipe)
- Ran it in a container (like a tiny virtual kitchen)
- Displayed a success message
You didnβt install dependencies, configs, or anything messy.
Welcome to the clean world of containers!
π Whatβs Next?
In Episode 3, weβll unpack:
- The difference between Docker images vs containers
- Docker Hub = GitHub for containers
- How it all works behind the scenes
π¬ Letβs Talk
Did your Docker installation go smoothly?
Drop a comment below if:
- You hit any error (Iβll help debug!)
- You successfully ran your first container (flex it πͺ)
If this episode helped you:
Leave a β€οΈ, comment, or share it with a fellow learner.
π¬ Next: "Images vs Containers β Explained with Tiffin Boxes & Chai"
Top comments (1)
This is gold, love the βtiny virtual kitchenβ metaphor! Just ran my first container and it actually worked π . The step-by-step breakdown made it way less intimidating. Looking forward to Episode 3 and finally wrapping my head around images vs containers.