5: Containerizing an app
In this chapter, you’ll build an application into a container image. The process is called containerization and the resulting app is called a containerized app.
You’ll use Docker to containerize the app, and the steps are not specific to Kubernetes. In fact, you won’t use Kubernetes in this chapter. However, it’s a vital part of a typical Kubernetes workflow, and you’ll deploy the containerized app to Kubernetes in the following chapters.
Docker and Kubernetes: Let’s clear up the confusion about Kubernetes supposedly dropping support for Docker. Kubernetes stopped using Docker as a container runtime in version 1.24. This means Kubernetes 1.24 and later do not use Docker to start and stop containers. However, apps containerized ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access