Chapter 6: Meet Buildah – Building Containers from Scratch

The great appeal of containers is that they allow us to package applications inside immutable images that can be deployed on systems and run seamlessly. In this chapter, we will learn how to create images using different techniques and tools. This includes learning how an image build works under the hood and how to create images from scratch.

In this chapter, we're going to cover the following main topics:

  • Basic image building with Podman
  • Meet Buildah, Podman's companion tool for builds
  • Preparing our environment
  • Choosing our build strategy
  • Building images from scratch
  • Building images from a Dockerfile

Technical requirements

Before proceeding with this chapter, a machine with a working ...

Get Podman for DevOps 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.