5: Containerizing an app
In this chapter, you’ll build an application into a container image that you’ll use in future chapters. The process is called containerization and the resulting app is called a containerized app.
You’ll use Docker to containerize the app. This part of the process isn’t specific to Kubernetes, and you won’t actually use Kubernetes in this chapter. However, the things you’ll do are 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 any potential confusion about Kubernetes supposedly dropping support for Docker. Kubernetes stopped using Docker as a container runtime a long time ago in version 1.24. This means ...
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