Develop containers using Podman Desktop and Kubernetes

Podman Desktop is a lightweight and efficient tool for managing containers and working with Kubernetes from your Windows, macOS, or Linux machine. From building container images to working with registries and deploying containers, Podman Desktop helps you seamlessly work with containerization technology, and simplifies the transition to container deployment on Kubernetes.

This learning path, created by Don Schenck, demonstrates how you can go from an initial application to a container to a fully running pod on Kubernetes using Podman Desktop and the no-cost Developer Sandbox for Red Hat OpenShift.

Access the Developer Sandbox

Overview: Develop containers using Podman Desktop and Kubernetes

Introduction

Looking to learn how to create, manage, and deploy containers? This learning path demonstrates how you can go from an initial application to a container to a fully running pod on Kubernetes using Podman Desktop, and the no-cost Developer Sandbox for Red Hat OpenShift. Here's a quick rundown of key technologies you’ll be using today:

  • Container: An isolated environment containing everything your application needs to run.
  • Image: The blueprint for a container, including the application and its dependencies.
  • Pod: The smallest deployable unit in Kubernetes, often containing one or more containers.
  • Kubernetes: An open-source platform for automating deployment, scaling, and operations of application containers.

Together, these components represent a complete ecosystem for developing, packaging, and managing applications in an efficient, scalable manner.

Prerequisites

You will need the following to complete this learning path:

What you’ll be doing

As you complete this learning path, you will:

  • Build a container image from a sample Python application using Podman Desktop.
  • Pull down a Redis database container image from an existing container registry.
  • Manage and test out the two running containers that form one microservice-based application.
  • Push a container image to a remote registry on Quay.io for sharing and distribution.
  • Create a Kubernetes pod using two containers and test locally using the Podman Desktop Kind extension.
  • Deploy the pod to the Developer Sandbox for OpenShift.

How long will this activity take?

  • You should budget about 60 minutes to complete this learning path.

What you will learn

  • How to use Podman Desktop and Developer Sandbox for iterative development of services.

Programming languages

  • The front-end (web) application for this learning path is written in Python.

If you need help

If you get stuck, if something isn’t working, or you simply have questions, you can easily contact us via email at devsandbox@redhat.com.