Install and Verify Docker in Docker

From the Docker cheat sheet ยท Setup ยท verified Jul 2026

Install and Verify Docker

Install Docker, confirm the daemon is available, and run hello-world.

bash
# macOS
brew install --cask docker

# Windows
winget install -e --id Docker.DockerDesktop
๐Ÿ“Œ Docker Desktop includes the CLI, daemon, and Compose
๐Ÿ’ก Linux users can install Docker Engine from Docker's package repository
๐Ÿ” docker version should show both Client and Server sections
โš ๏ธ Docker Desktop has separate licensing terms for larger organizations
installdocker-desktopenginehello-world

Continue with Docker

Save the full cheat sheet or work through every related task.

Back to the full Docker cheat sheet