In this tutorial, we will show you how to install Podman on CentOS 9 Stream. For those of you who didn’t know, Podman is a container management tool engine for developing, managing, and running OCI Containers on your Linux System. Just like Docker, it helps developers to develop, manage, and run their applications on containers.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Podman container management tool on CentOS 9 Stream.
- A server running one of the following operating systems: CentOS 9 Stream.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- An active internet connection.
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install Podman on CentOS 9 Stream
Step 1. First, let’s start by ensuring your system is up-to-date.
sudo dnf clean all sudo dnf update
Step 2. Installing Podman on CentOS 9 Stream.
By default, Podman is available on the CentOS 9 Stream base repository. Let’s install Podman using the following command below:
sudo dnf install podman
You can then verify the installation information using the following command:
To check the host Information:
Step 3. How to use Podman.
To view the Podman help manual along with the list of available sub-commands and general options, run:
For example, we download the CentOS image by running the following command below:
podman pull centos
Next, check the list of downloaded images by running the following command:
Congratulations! You have successfully installed Podman. Thanks for using this tutorial to install the Podman container on CentOS 9 Stream. For additional help or useful information, we recommend you check the official Podman website.