📝 Docker

Installing Docker: macOS, Windows, Linux

0
Author
04e5cc8b-58ac-4bdc-bdee-661bbb
📅
Published
08.05.2026
⏱️
Reading time
1 min
👁️
Views
46
🌱
Level
Beginner

macOS

Download Docker Desktop from docker.com/products/docker-desktop.

Before downloading, check your chip: run uname -m in the terminal. arm64 means Apple Silicon (M1/M2/M3), x86_64 means Intel.

After installation, open Applications → Docker. The first launch takes 3–5 minutes. A whale icon 🐳 will appear in the menu bar — Docker is running.

Recommended resources (Settings → Resources): 2+ CPUs, 4+ GB RAM, 60 GB Disk.

Windows

Requirements: Windows 10 build 19041+ or Windows 11. The Home edition requires WSL2.

Step 1: Install WSL2 — open PowerShell as Administrator and run wsl --install, then reboot.

Step 2: Download Docker Desktop from docker.com and run the installer. Check “Install required Windows components for WSL2” during setup.

Step 3: After rebooting, launch Docker Desktop. A whale icon will appear in the system tray.

Linux (Ubuntu)

On Linux, Docker runs natively — it’s the fastest option.

# Install with a single command
curl -fsSL https://get.docker.com | sh

# Add yourself to the docker group (to run without sudo)
sudo usermod -aG docker $USER
newgrp docker

# Enable autostart
sudo systemctl enable docker

For other distros: docs.docker.com/engine/install.

Verifying the Installation

After installing on any platform:

docker --version    # Docker version 24.x.x
docker ps           # empty list (no errors)
docker run hello-world  # should print a welcome message

Common Issues

“command not found: docker” — Docker Desktop isn’t running. Launch the app.

“Cannot connect to Docker daemon” — same issue. On Linux, check: sudo systemctl start docker.

“Permission denied” on Linux — you haven’t been added to the docker group. Run sudo usermod -aG docker $USER and log out/in.

“Not enough disk space” — you need at least 10 GB free. Clean up: docker system prune -a.

Your reaction to the article

💬 Comments (0)

🔐 Sign in to leave a comment
🚪 Login
💭

No comments yet

Be the first to share your opinion about this article!

🔗 Similar

Similar articles

Continue learning with these materials

📝

Layers and Caching in Docker

Every instruction in a Dockerfile creates a layer — an intermediate image. Docker caches layers...

📅 08.05.2026 👁️ 62
📝

Docker Hub — Image Registry

Docker Hub is the public Docker image registry. Think of it as npm for Node.js...

📅 08.05.2026 👁️ 49
📝

Docker Compose: Multi-Container Applications

Docker Compose is a tool for running multiple related containers as a single application. The...

📅 08.05.2026 👁️ 49

Did you like the article?

Subscribe to our updates and receive new articles first. Grow with PyLand!