Chapter 47: Docker Architecture, Installation on Linux, Windows and Mac, and Docker Desktop Alternatives
Come on, friends! This is where Docker begins. First why we need it, then what it is, then how to install it. We cover Ubuntu, Amazon Linux, RHEL, Windows WSL 2, Mac, and free options if you do not want Docker Desktop.
चला मित्रांनो, Docker चा पाया इथून सुरू होतो. आधी का पाहिजे, मग काय आहे, मग कसं install करायचं. Ubuntu, Amazon Linux, RHEL, Windows WSL 2, Mac, आणि Docker Desktop नको असेल तर free पर्याय पण बघूया.
चलो दोस्तों, Docker की नींव यहीं से शुरू होती है. पहले क्यों चाहिए, फिर क्या है, फिर install कैसे करें. Ubuntu, Amazon Linux, RHEL, Windows WSL 2, Mac, और Docker Desktop न चाहिए तो free विकल्प भी देखेंगे.
What you will learn in this chapter
- Why containers end the 'works on my machine' fight
- VMs vs containers
- Client, dockerd, containerd, runc and registry
- Namespaces and cgroups
- Install on Ubuntu, Amazon Linux 2023, RHEL, Windows (WSL 2) and macOS
- Docker Desktop features and licence, and its alternatives
- Rootless mode and the full system/context/login command list
All Docker commands in one place
Every docker command step by step on one running example (build, run, exec, logs, volumes, networks, Compose, cleanup) with a cheat sheet: All Docker Commands Step by Step with Examples
Concepts in this chapter
- 47.1Why Docker: works on my machine, devs vs ops
- 47.2Virtual machines vs containers
- 47.3Docker architecture: client, daemon, containerd, runc, registry
- 47.4Namespaces and cgroups: how isolation really works
- 47.5Install Docker Engine on Ubuntu
- 47.6Install Docker on Amazon Linux 2023 and RHEL
- 47.7Docker on Windows with WSL 2, step by step
- 47.8Docker Desktop: what it includes, install and licence
- 47.9Alternatives to Docker Desktop
- 47.10Rootless mode and post-install setup
- 47.11Docker system, context and login commands: full reference
- 47.12All Docker commands step by step with examples
- 47.13docker init: generate a Dockerfile, Compose file and .dockerignore
- 47.14Docker contexts and remote Docker over SSH
- 47.15Dev Containers, Testcontainers and Docker in your daily coding
The chapter recap is at the end of the last concept page.
Ravi Sir's Cards: 33 revision, interview and comparison cards for this chapter · मराठी cards