Docker daemon
The background program that owns images, containers, networks and volumes and does the work the docker command asks for.
In more detail
A daemon is a program that runs in the background with no terminal. dockerd listens on a Unix socket for requests from the Docker CLI, keeps the state of the machine, and passes container work to containerd. Anyone who can talk to the daemon can control the host, which is why access to its socket is guarded.
Example
In this course: Container test libraries talk to it to start and stop containers. When no daemon is running, those tests cannot run, and an honest suite reports that rather than pretending.Related terms
- Docker Engine — The open-source server part of Docker, made of the Docker daemon and the tools it drives, that runs on Linux.
- Docker socket — The file-like connection point, usually /var/run/docker.sock, through which programs send commands to the Docker daemon.
- containerd — An industry-standard program that manages containers and images on a machine, used underneath Docker and most Kubernetes clusters.
- Docker CLI — The docker command you type into a terminal; it sends requests to the Docker daemon and prints the answers.
- Docker — A platform for building, shipping and running software in containers.
- Testcontainers — A family of libraries that start real dependencies such as databases in throwaway containers for the length of a test.
- container runtime — Software that creates and runs containers from images.
Taught in
- Why Containers: Bare Metal, Machines And Processes — Docker Architecture & Production Containers
- Docker, OCI, The Engine And The CLI — Docker Architecture & Production Containers
- Install Docker And Verify Your Environment — Docker Architecture & Production Containers
- Run, Stop, Restart And Remove A Container — Docker Architecture & Production Containers
- Commands, Logs, Exec And Exit Codes — Docker Architecture & Production Containers
- Tags, Digests And Reproducible Image References — Docker Architecture & Production Containers
- Bind Mounts, Permissions And Backups — Docker Architecture & Production Containers
- Bridge Networks, DNS And Container Communication — Docker Architecture & Production Containers
- Define The Service And Database With Compose — Docker Architecture & Production Containers
- Diagnose Crashes, Resource Limits And Unhealthy Containers — Docker Architecture & Production Containers
- Harden And Deliver The Complete Service Stack — Docker Architecture & Production Containers
- From Local Containers To Kubernetes — Docker Architecture & Production Containers
- Integration Testing With Containers — Automated Testing, TDD & Quality Engineering