Docker
Docker is an open-source platform that builds, ships and runs applications in containers.
Docker is a set of tools for packaging applications into containers and running them. A container holds an application together with the libraries and files it needs. Docker builds a container image from a text file called a Dockerfile, which lists the steps to assemble it. The same image then runs the same way on a laptop, a server or a cloud host.
Docker uses features of the Linux kernel to isolate containers from each other and from the host. Namespaces give each container its own view of processes, files and the network, and cgroups limit the resources it uses. Images are built in layers, so containers that share a base image also share its files on disk. Registries such as Docker Hub store images and let users pull them onto any machine.
Docker made containers a common way to develop, test and deploy software. Its image format grew into the Open Container Initiative standards, which other container runtimes also follow. Orchestration systems such as Kubernetes run containers built with Docker across many hosts. Because containers share the host kernel, platforms that run untrusted code often put each container image inside a microVM or a sandbox instead.
Related terms