Docker
Docker is a platform for packaging applications into containers: isolated environments that hold the code, runtime, libraries and settings and run the same way on a laptop, a server or in the cloud. It was released by dotCloud in 2013; the company is now Docker, Inc. The core engine is open source, while Docker Desktop is free for small businesses and paid for large ones.
Key facts
| Type | Platform for building, sharing and running containers |
| Developer | Docker, Inc. (founded as dotCloud) |
| Created by | Solomon Hykes and the dotCloud team |
| First public release | March 2013 |
| Written in | Go |
| Current engine | Docker Engine 29 (major release November 2025; 29.x updates through 2026) |
| License | Docker Engine — open source (Apache 2.0, Moby project); Docker Desktop — commercial license |
| Website | docker.com |
What is Docker?
Docker is a tool that packages an application together with everything it needs — runtime, libraries, system packages and settings — into a container that runs the same way on any machine with Docker. This removes the classic "it works on my machine" problem: developers, test servers and production use the same image.
A container is an isolated process on the host system. On Linux, Docker isolates it with kernel features (namespaces and cgroups), so a container starts in seconds and uses far less memory than a virtual machine.
History
Docker began as an internal tool at dotCloud, a platform-as-a-service company. Solomon Hykes showed it publicly at PyCon in March 2013, and the project was released as open source the same month. In October 2013 dotCloud renamed itself Docker, Inc.
- 2014 — Docker 1.0, the first production-ready release.
- 2015 — Docker and other companies founded the Open Container Initiative, which standardizes image and runtime formats.
- 2017 — Docker donated its containerd runtime to the Cloud Native Computing Foundation and moved the open-source code to the Moby project.
- 2019 — the Docker Enterprise business was sold to Mirantis; Docker, Inc. refocused on developer tools.
- 2021 — Docker Desktop became paid for large companies.
- November 2025 — Docker Engine 29 made the containerd image store the default for new installations and added experimental nftables support.
How does Docker work?
Images and the Dockerfile
An image is a read-only template for a container: a base system, installed packages and application code, stored as layers. Images are described in a Dockerfile, a text file with build steps. Unchanged layers are cached, so rebuilds are fast.
Containers
A container is a running instance of an image. Many containers can run from one image; each gets its own file system, network and processes. Data that must survive a restart is kept in volumes.
Registries and Docker Hub
Images are stored in registries. Docker Hub is the public registry with official images such as postgres, node and nginx. Companies also use private registries from cloud providers or GitHub.
Docker Compose
Docker Compose describes several containers in one compose.yaml file — for example, an application and its database — and starts them with a single command.
Example
A Dockerfile for a Node.js application:
FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]
The image is built with docker build -t my-app . and started with docker run -p 3000:3000 my-app. A compose.yaml that adds a PostgreSQL database:
services:
app:
build: .
ports: ["3000:3000"]
environment:
DATABASE_URL: postgres://app:secret@db:5432/app
depends_on: [db]
db:
image: postgres:17
environment:
POSTGRES_USER: app
POSTGRES_PASSWORD: secret
POSTGRES_DB: app
volumes: [pgdata:/var/lib/postgresql/data]
volumes:
pgdata:
docker compose up -d starts both services; the application reaches the database by the service name db.
How is a container different from a virtual machine?
A virtual machine emulates a whole computer with its own operating system kernel, while a container shares the host's kernel and isolates only processes and files. As a result, containers start in seconds, take megabytes instead of gigabytes and fit dozens on one server. Virtual machines give stronger isolation and can run a different operating system, such as Windows on a Linux host.
How much does Docker cost?
Docker Engine and the command-line tools are free and open source. Docker Desktop, the app for macOS, Windows and Linux, is free for personal use, education, non-commercial open-source projects and companies with fewer than 250 employees and less than $10 million in annual revenue. Larger companies need a paid plan. As of November 2026, according to docker.com/pricing, annual billing costs:
| Plan | Price per user per month |
|---|---|
| Personal | Free |
| Pro | $9 |
| Team | $15 |
| Business | $24 |
Docker Hub limits image downloads: 100 pulls per 6 hours for anonymous users (per IP address) and 200 for signed-in users on the free Personal plan; paid plans have no pull limit, subject to fair use.
Limitations
- Linux containers need a Linux kernel, so on macOS and Windows Docker Desktop runs them inside a lightweight virtual machine.
- By default the Docker daemon runs with root privileges; a rootless mode exists but needs extra setup.
- Docker Desktop requires a paid license in large companies.
- Alternatives include Podman, which runs without a daemon, and containerd with nerdctl.
How do you start with Docker?
Install Docker Desktop on macOS or Windows, or Docker Engine on a Linux server, and run docker run hello-world to check the setup. The official guide at docs.docker.com/get-started covers images, containers, volumes and Compose. Many frameworks, including Next.js, document how to package an app into a Docker image.
Sources
- What is Docker? — Docker Docs (accessed 30 November 2026)
- dotCloud renamed Docker — InfoQ (accessed 30 November 2026)
- Docker Engine v29: Foundational Updates for the Future — Docker Blog (accessed 30 November 2026)
- Docker Engine version 29 release notes — Docker Docs (accessed 30 November 2026)
- Docker Pricing — Docker (accessed 30 November 2026)
- Docker Hub pull usage and limits — Docker Docs (accessed 30 November 2026)
- About the Open Container Initiative — Open Container Initiative (accessed 30 November 2026)