Main Components of Docker

Jobify
March 28, 2025
IT Knowledge

Docker Daemon (dockerd):

  • This is the background service that manages Docker objects like images, containers, networks, and volumes.
  • It listens for Docker API requests and executes them.
  • Essentially, it's the engine that powers Docker.

 

Docker Client (docker):

  • This is the command-line interface (CLI) that users interact with to issue Docker commands.
  • It sends these commands to the Docker Daemon via the Docker API.
  • So, when you type "docker run," the client sends that request to the daemon.

 

Docker Images:

  • These are read-only templates that contain instructions for creating Docker containers.
  • They include everything needed to run an application: code, runtime, libraries, and settings.
  • Think of them as blueprints for containers.

 

Docker Containers:

  • These are runnable instances of Docker images.
  • They are isolated environments that can run applications consistently across different infrastructures.
  • Containers are the actual running applications.

 

Docker Registries:

  • These are repositories for storing and distributing Docker images.
  • Docker Hub is the default public registry, but you can also create private registries.
  • When you use "docker pull," you're retrieving an image from a registry.

 

Docker Networking:

  • Docker networking allows docker containers to communicate with each other, and with the outside world.

 

Docker Volumes:

  • Docker volumes are the preferred mechanism for persisting data generated by and used by Docker containers.
Share: