Ravindra BagaleCourses & study guides मराठी

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.

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

  1. 47.1Why Docker: works on my machine, devs vs ops
  2. 47.2Virtual machines vs containers
  3. 47.3Docker architecture: client, daemon, containerd, runc, registry
  4. 47.4Namespaces and cgroups: how isolation really works
  5. 47.5Install Docker Engine on Ubuntu
  6. 47.6Install Docker on Amazon Linux 2023 and RHEL
  7. 47.7Docker on Windows with WSL 2, step by step
  8. 47.8Docker Desktop: what it includes, install and licence
  9. 47.9Alternatives to Docker Desktop
  10. 47.10Rootless mode and post-install setup
  11. 47.11Docker system, context and login commands: full reference
  12. 47.12All Docker commands step by step with examples
  13. 47.13docker init: generate a Dockerfile, Compose file and .dockerignore
  14. 47.14Docker contexts and remote Docker over SSH
  15. 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