Linux Containers

Linux containers are one of the most profound technologies of our lifetime. And even though the bits and pieces were here before Docker, it’s Docker, that stirred containers for mass success. Docker is both packaging format and runtime to run these containers. And Podman is an alternative runtime for OCI images from Red Hat that allows running containers without a daemon.We’ll discuss what containers are and whether we need them. We’ll talk about the Docker container format for packaging server applications and see how to run long-running Docker applications with Docker and Podman runtimes. At the end of the chapter, we’ll be able to build secure root-less containers for our applications efficiently.

Table of Contents

Runtimes and Images

Container Blueprint

Running Containers



Restricting Containers

Building Containers

Rootless Containers
Application Containers
Application Dependencies
Multi-Target Builds
Container Processes

Cleaning Up


Buy for $50
Rated 36x five stars
Gumroad (as of Aug 3, 2023)
I am using some scripts I downloaded from Josef Strzibny's book that are setting up Ruby on Rails deployment and automatically installing a PostgreSQL server. I am also using Dokku, but I like the idea of controlling what is happening on the server.
Lucian Ghinda, Senior Ruby Developer