16

Can some one explain the difference between the two, which contains the docker runtime?

3 Answers 3

15

Docker Engine is the core product of Docker, including its daemon (dockerd) as well as its CLI (docker). Docker Daemon is simply a part of Docker Engine.

Quoting the Docker engine overview page:

Docker Engine is an open source containerization technology for building and containerizing your applications. Docker Engine acts as a client-server application with:

  • A server with a long-running daemon process dockerd.
  • APIs which specify interfaces that programs can use to talk to and instruct the Docker daemon.
  • A command line interface (CLI) client docker.
7

They are the same, and neither.

The Docker daemon and engine refer to the same dockerd process. Docker itself doesn't contain the container runtime in the dockerd binary anymore. That was moved out to the runc project long ago, and you can swap in other runtimes for your own use cases.

Between that runtime and the docker daemon is containerd which is used to manage the images, containers, and filesystem layers. So you can think of the docker daemon as being broken apart into various microservices.

3

Here's a picture, which I find easier to understand than words. I found it here.

enter image description here

1
  • It is not clear even from the entire video
    – Gulzar
    Nov 22, 2021 at 11:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.