© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
M. ZadkaDevOps in Pythonhttps://doi.org/10.1007/978-1-4842-7996-0_12

12. Containers

Moshe Zadka1  
(1)
Belmont, CA, USA
 

Many modern applications are deployed as containers. Containers are a way of running applications in isolation. This isolation allows for building self-contained images with all dependencies an application needs to run.

There are several ways to run containers. A popular one used by Kubernetes and Docker is containerd.

For a container runner to run an application as a container, the application needs to be inside of an Open Container Initiative (OCI) image.

There are several ways to build images. The most popular ways—buildctl, docker build

Get DevOps in Python: Infrastructure as Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.