Abstract


Working with Apple Silicon

--platform linux/amd64 flag is needed. Refer to ISA Unmatch error

Docker Engine

  • The whole package, which includes Docker Daemon as one of its components. Other 2 components are REST API interface and Docker CLI(Docker client) which provide access to Daemon

Docker Daemon

  • A background service runs on the host, managing the containers it created, and listening for REST API requests from the Docker client, which issues commands like docker build, docker pull, and docker run
  • Single source of failure & requires root access
  • Built on top of Docker Runtime

Docker Runtime

  • Used to interact with Kernel
  • There are many options, the one docker uses is containerd

Docker Installation


MacOS

  • brew install orbstack - orbstack is a much lightweight GUI to manage the containers, comes with Docker Engine

Ubuntu

  • Install Docker Engine with curl -sSL https://get.docker.com | sh
  • Install Docker Desktop(Optional)
  • We can add user to the docker group with sudo usermod -aG docker <USERNAME>

Fix missing dependencies

sudo apt --fix-broken install

Useful Docker Images


Networking