AlgoViz

Docker

easy 26 min

Docker packages a program with its files into an image and runs it as an isolated process called a container.

Where it shows up

The same pattern appears across everyday software.

  • Spotify

    Its CNCF case study says Spotify ran containerized microservices across its virtual machines since 2014 with its own orchestrator, Helios, and later moved to Kubernetes to use what a larger community supports.

  • Uber Kraken

    Uber published Kraken, a peer-to-peer Docker registry. Hosts exchange layers with each other, so a big rollout does not depend on one registry's bandwidth.

  • Netflix Titus

    Netflix built and open-sourced Titus, a platform to run containers on AWS. The public repository has been archived since July 2022.

  • Dev containers in GitHub Codespaces

    A codespace is a development environment defined in the repository and run in a container, on a virtual machine. New contributors do not install tools by hand.

  • Local stacks

    A team keeps one Compose file for the API, database, cache and queue. One command starts all four, and the API image is the one that the pipeline deploys.

  • Batch analytics

    A report starts hundreds of short containers, each working on one slice of data, and throws them away. Nothing needs to survive in the container.