Table of Content
- Docker Desktop
- Docker Install - 🍏 - macOS (Apple Silicon or Intel) - 🪟 - Windows 10/11 (Pro, Enterprise, or Education) - 🐧 - Linux (Ubuntu / Debian / Fedora / etc.) - 🔍 - TL;DR:
Docker Desktop
🖥️ Docker Desktop: How Docker Made Peace with Mac & Windows
So, here’s the tea:
Docker loves Linux 🐧 , but most developers are out here coding on Macs 🍎 and Windows 🪟. That used to be a problem… until Docker Desktop came to the rescue. 💪
🚧 The OG Workaround
Docker Machine
Before Docker Desktop, there was Docker Machine, and honestly…
- It worked, but:
- Required VirtualBox (ugh)
- Needed you to learn VBoxManage 🧙♂️
- Was kinda slow 😩 (especially with volumes & ports)
⚡️ Then Came
Docker Desktop (2016)
A total upgrade for Mac and Windows users!
✅ Uses faster native virtualization (Hyper-V for Windows / Apple’s HyperKit for macOS) ✅ No more fussing with manual port mapping or volume mounting ✅ Beautiful GUI – no terminal gymnastics required ✅ Bonus: Comes with cool extras like Kubernetes support out of the box
💸 The Catch (2021 Update)
Docker Desktop became a paid product for big companies:
If your company has 250+ employees and $10M+ in revenue, you’ll need a Docker subscription. 🧾
That sparked a boom in Docker Desktop alternatives (some folks even went back to Docker Machine 😅). While the course doesn’t cover them, links are available in the exercise files!
🔧 TL;DR
- Docker Desktop = 🪄 runs Docker on Mac/Windows like Linux
- Faster, simpler, and friendlier than the old way
- Free for personal/small biz use, but ”$$ for big companies”
Docker Install
🛠️ Installing Docker on Mac, Windows & Linux: A Quick Start Guide
Whether you’re team 🪟, 🍏, or 🐧 — Docker’s got your back. Here’s how to get up and running on your machine!
🍏
macOS (Apple Silicon or Intel)
-
Download the macOS version (Apple Silicon for M1/M2, or Intel-based).
-
Open the .dmg file and drag Docker into Applications.
-
Launch Docker Desktop. It may ask for system permissions (allow them).
-
Once it’s running, test it:
docker --version
✅ Bonus: Includes Docker Engine, Docker CLI, Docker Compose, Kubernetes (optional), and a GUI!
🪟
Windows 10/11 (Pro, Enterprise, or Education)
-
Requirements:
-
Enable WSL 2 (Windows Subsystem for Linux)
-
Install Hyper-V (usually already enabled)
-
-
Download Docker Desktop for Windows and run the installer.
-
Allow Docker to install WSL 2 backend if needed.
-
Launch Docker Desktop and test it:
docker --version
✅ Comes with Docker CLI, Engine, Docker Compose, and a nice dashboard.
🐧
Linux (Ubuntu / Debian / Fedora / etc.)
Install via terminal – here’s a basic example for Ubuntu:
# Install curl
sudo apt install curl
# Get docker.sh script
curl -o /tmp/get-docker.sh https://get.docker.com
# Run it:
sh /tmp/get-docker.sh
# Adding user to Docker Group
sudo usermod -aG docker $USER
✅ Lightweight and native — no VM needed, since Linux runs Docker directly!
🔍
TL;DR:
-
Mac/Windows: Use Docker Desktop
-
Linux: Install Docker Engine directly from the terminal
-
After install, run:
docker run --rm hello-world
- to confirm it’s working! 🚀