LearnThatStack Ace your next interview
Docker · question
Question 2 of 45

Explain the Docker architecture and its main components.

beginner
← All Docker questions
Re-explain

Docker uses a client-server architecture. The docker CLI is the client. It sends each command over a REST API to the Docker daemon, dockerd, which builds, runs and distributes containers.

Its main components:

  • The Docker client is the command-line interface, and it can talk to a local or remote daemon.
  • The Docker daemon is a background service that manages containers, images and networks.
  • An image is a read-only template used to create containers.
  • A container is a running instance of an image.
  • A registry stores images. Docker Hub is the default public registry, and you can also run a private one.
  • Docker Engine is the complete platform: the daemon, its REST API and the CLI.

Below the daemon, containerd manages each container's lifecycle, and it uses runc to create the container itself.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

The diagram below the answer is the concept . Jump to it ↓

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

Saved in this browser - sign in to keep your review list.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Interview lens

Likely follow-ups, what you can say, and the weak answers to avoid.

Sign in free to open it Free account - the lens opens as soon as you're back.

Want a quick review of the fundamentals? See the Docker cheatsheet.

← Back to all Docker questions
Pro · $10/mo

40 of 45 Docker answers are in Pro.

Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.

  • Full answers + code
  • AI explanations, simpler or deeper
  • 1,000 AI credits / month
  • Cancel anytime