Skip to content

🐳 Docker Foundation: Concepts & Architecture

These notes cover the core pillars from Docker Deep Dive and Docker: Up & Running to build a foundation for the CKAD exam.

🏗️ 1. The Core Architecture

Docker operates on a Client-Server model.

  • Docker Client: The CLI tool where you run commands.
  • Docker Host (Engine): The daemon (dockerd) that does the heavy lifting.
  • Registry: Where images live (Docker Hub, or Oracle Cloud OCIR).

⚙️ The "Big Three" Linux Techs

Docker isn't magic; it's just three Linux kernel features wrapped in a nice UI:

  1. Namespaces: Provides Isolation (Process, Network, Mount).
  2. Control Groups (cgroups): Provides Resource Limiting (CPU, RAM).
  3. Union File Systems: Provides Layering (Efficiency).

📦 2. Images vs. Containers

Feature Image (The Blueprint) Container (The Instance)
State Read-Only (Immutable) Read-Write (Disposable)
Storage Layered (Shared) Writable Layer on top

Commands

Comments