Open source container engine: the dockerd daemon, the Docker Engine API and the docker CLI
open sourceApache-2.0self-hostablefree
Docker Engine is the open source container engine behind Docker: a long-running daemon (dockerd) that builds images and runs containers, networks and volumes, a REST API (the Docker Engine API) and the docker CLI that talks to it. It's built from the Moby project's code under Apache-2.0, uses containerd for images and containers and BuildKit for builds, and includes Swarm mode for clustering several hosts and a rootless mode that runs the daemon without root. Docker publishes packages for Ubuntu, Debian, Fedora, RHEL and other Linux distributions, plus static binaries and a Windows Server build for Windows containers; on macOS and Windows desktops it comes inside Docker Desktop. Docker doesn't sell support for it: the Moby maintainers and community support the open source engine.
Ways to install
Package managers
Problems it solves
- run my app and its database in isolated containers on a Linux server
- install a container runtime on an Ubuntu or Debian box from the vendor's own apt repository, with updates
- set up containers on a throwaway test VM with a single install script
- package a service with all its libraries so it runs the same on every Linux host
- build images from a Dockerfile on the same machine that runs them
- run the container daemon as an ordinary user so a container breakout doesn't get root on the host
- spread replicated services across three or four servers without setting up Kubernetes
- roll out a new version of a service node by node and roll back if it starts failing
- drive containers from my Python or Go code through an HTTP API instead of shelling out to a CLI
- give services on different hosts a private overlay network with built-in DNS service discovery
- keep a database's files in a volume that survives replacing the container
- bring containers back automatically after the server reboots
- stop one container from eating all the CPU and memory on a shared box
- send every container's logs to syslog, journald or a log collector
- run Windows Server containers on a Windows Server host
- our self-hosted CI runner needs a container daemon to build and push images
- hand database passwords to clustered services as encrypted secrets instead of environment variables
- store multi-platform images for amd64 and arm64 locally on one machine
- free up disk space taken by old images, stopped containers and unused volumes
- add volume or network drivers from storage vendors to my container host as plugins
Features
- dockerd daemon that builds images and manages containers, networks and volumes
- Docker Engine API (REST) and the docker CLI client
- official Go and Python SDKs for the Engine API
- packages from Docker's apt and dnf repositories for Ubuntu, Debian, Fedora, RHEL, CentOS, Rocky Linux, AlmaLinux and Oracle Linux
- convenience install script for test and development machines
- static binaries for any Linux distribution, and dockerd.exe for Windows Server (Windows containers)
- x86_64, arm64, 32-bit Arm, ppc64le and s390x builds, depending on the distribution
- stable and test release channels
- Swarm mode: built-in clustering with manager and worker nodes, service scaling and desired state reconciliation
- Swarm rolling updates with rollback, overlay networks, service discovery and load balancing
View 7 more
- mutual TLS between Swarm nodes and encrypted Swarm secrets
- rootless mode: the daemon and containers run in a user namespace without root privileges
- containerd image store, the default from Docker Engine 29, with multi-platform images and pluggable snapshotters
- BuildKit builds through the buildx plugin, and the Docker Compose plugin as a package
- volumes, bind mounts, restart policies and CPU and memory limits
- logging drivers: json-file, local, syslog, journald, GELF and others
- managed plugin system for volume, network, log driver and authorization plugins
Limitations
- Doesn't run containers natively on macOS: the macOS binaries are the docker client only, without the dockerd daemon; Docker recommends Docker Desktop2
- Doesn't run Linux containers on Windows: the Windows Server binaries run native Windows containers only; Linux containers on Windows need Docker Desktop2
- No commercial support from Docker: the open source engine is supported by the Moby maintainers and community3
- Published container ports bypass ufw and firewalld rules: Docker writes its own iptables rules, and nft-only rulesets aren't supported4
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Docker Engine does.
