๐Ÿ“ Docker

Installing Docker: macOS, Windows, Linux

P
Author
PyLand Team
๐Ÿ“…
Published
08.05.2026
โฑ๏ธ
Reading time
1 min
๐Ÿ‘๏ธ
Views
394
๐ŸŒฑ
Level
Beginner

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

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

๐Ÿ“

Multi-stage Builds: Shrinking Your Docker Image

A large image means slow downloads, more disk usage, and a bigger attack surface. Multi-stage...

๐Ÿ“… 30.06.2026 ๐Ÿ‘๏ธ 321
๐Ÿ“

Docker Compose: Advanced Features

A basic docker-compose.yml is just the starting point. Production workloads need healthchecks, profiles, override files,...

๐Ÿ“… 30.06.2026 ๐Ÿ‘๏ธ 306
๐Ÿ“

Docker Networking: How Containers Communicate

Containers are isolated, but they often need to talk to each other and to the...

๐Ÿ“… 30.06.2026 ๐Ÿ‘๏ธ 306
๐ŸŽ“ Continue learning

Courses that cover this material

Visit the course to apply this material in practice.

Docker: From Chaos to Containers Open course curriculum