Feedback

Chat Icon

Painless Docker - 2nd Edition

A Comprehensive Guide to Mastering Docker and its Ecosystem

Hack the Container: Understanding Docker's Inner Workings
13%

Docker Runtimes: An Overview

The container ecosystem includes multiple runtimes at each level. While all of them serve the purpose of running containers, they do so in different ways. Some of these runtimes are OCI-compliant, while others predate or extend beyond OCI. Some focus strictly on execution, while others incorporate additional capabilities such as:

  • Image transfer and storage
  • Container execution and supervision
  • Low-level storage management
  • Network attachment and configuration

Opinions vary on which runtime is best suited for specific use cases, but the default Docker runtimes (runC and containerd) are widely adopted and supported. The following table summarizes commonly used container runtimes and the layer at which they operate:

TechnologyLevelSpecificity / Typical Usage
LXCLow-levelFull system containers providing OS-level virtualization, often used to run multiple services per container or emulate lightweight virtual machines.
runCLow-levelOCI reference runtime focused solely on creating and executing containers using Linux namespaces and cgroups. Used by most modern container platforms.
runhcsLow-levelWindows-specific OCI runtime for running Windows containers, leveraging Windows kernel features for isolation.
crunLow-level

Painless Docker - 2nd Edition

A Comprehensive Guide to Mastering Docker and its Ecosystem

Enroll now to unlock all content and receive all future updates for free.

Unlock now  $31.99$25.59

Hurry! This limited time offer ends in:

To redeem this offer, copy the coupon code below and apply it at checkout:

Learn More