Docker
Docker is a tool that packages a program together with everything it needs into a closed box, so it runs the same way on almost any machine.
In plain terms
Imagine you are moving, and instead of packing your kitchen piece by piece, you put it into a single standard shipping container, wired up and set up. Wherever it is taken, you open it and can start cooking at once. Docker does the same with programs: it packs the software together with its settings and helper tools into a "container".
This is necessary because programs are sensitive to their environment. What works on the developer's machine often fails on another machine because different versions of dependencies are installed there. The container carries its own environment, so it does not matter where you start it.
In the AI world, you encounter it often: systems serving language models, databases, and agent tools are typically deployed in containers. The coding agent also often works in such an isolated box so that if it makes a mistake, it does not break your machine.
How it works
- The developer writes a short text recipe (Dockerfile) that step-by-step describes what is needed to run the program.
- From the recipe, Docker builds an image (a packaged disk image, not a photo!): a packaged, unchanging template copy of the program.
- The disk image can be uploaded to a shared repository (such as Docker Hub), from which anyone can download it like an app from a store.
- At startup, the disk image becomes a container: a running instance isolated from the rest of the machine that uses the host operating system's kernel, allowing it to start within seconds.
- If you no longer need it, you can discard the container and start a new one from the disk image at any time, even a hundred at once.
An everyday example
You want to try an open-source AI tool on your own machine, and the instructions simply say: "launch with Docker." If Docker is already installed, you copy a single command, the machine downloads the ready package, and the program runs within minutes without requiring any additional installation outside of Docker.
Who is affected
A common misconception
Limits and risks
- A pre-built disk image downloaded from the internet may contain outdated or malicious software, so only run those from reliable sources.
- When deleting a container, any data generated inside is also lost unless you have configured separate persistent storage.
- On Windows and macOS, a hidden Linux environment runs in the background, consuming significant memory and storage.
- A disk image is built for a specific processor type: one made for traditional (Intel or AMD) processors will run slowly or not at all on ARM-based machines, such as newer Macs.
- Docker Desktop is paid for larger companies (more than 250 employees or annual revenue exceeding 10 million US dollars); keep this in mind if you plan to use it at work.
Similar, but not the same
- virtual machine – A virtual machine emulates a full computer with its own operating system, while a container only packages the program and its dependencies, making it much smaller and faster.
- Kubernetes – Docker builds and runs the container, while Kubernetes coordinates the operation of many containers across many machines.
- Sandbox – The sandbox is the goal, meaning isolated, secure execution, while Docker is one tool to achieve this.
Related concepts
Containerization, virtualization, Cloud service, Open source
Container, Image file, Dockerfile, Docker Compose, Docker Hub
Kubernetes, virtual machine, Sandbox, coding agent, Installation
A brief history
Docker was introduced by Solomon Hykes in 2013 as an open-source project at a company called dotCloud, which later adopted the name Docker. The idea of containers was older, but Docker made it so simple that it became an industry standard within a few years.
Where things stand
At the end of 2026, Docker is one of the basic tools of software development, and the container format is an open industry standard, so containers can also be run by other programs (such as Podman). It is also an established way to run AI systems and agents, mainly because of the isolated environment.
In the news
- Docker, Pydantic AI and Google ship tools to run AI agents in isolated environmentsOct 21, 2026 · Code
- Test of six AI coding agents on DevOps tasks: Terraform, Kubernetes, Ansible, DockerSep 22, 2026 · Code
- MCP ecosystem expands with Docker catalog, Rocket.Chat server and Chrome DevTools, while security lagsAug 31, 2026 · Code
- Claude Code now available with a self-hosted runner for Docker and GitHub ActionsAug 18, 2026 · Code
Also known as
Docker · docker · Docker container · Docker container · Docker container · Docker Engine · Docker Desktop · dokker
Sources
This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.