This guide will discuss how to install Podman on Fedora. Podman is a daemonless container engine for developing, managing, and running OCI Containers on your Linux System. The major difference between Docker and Podman is that there is no daemon in Podman.

For Ubuntu, check: How to install podman on Ubuntu

Podman uses container runtimes as well for example runc but the launched containers are direct descendants of the podman process. This kind of architecture has its advantages such as the following:

  • Applied Cgroups or security constraints still control the container: Whatever cgroup constraints you apply on the podman command, the containers launched will receive those same constraints directly.
  • Advanced features of systemd can be utilized using this model: This can be done by placing podman into a systemd unit file and hence achieving more.

The following set of tools work together to power the use of Containers without an all-time running daemon process.

  • Buildah to facilitate the building of OCI images
  • Skopeo for sharing/finding container images on Docker registries, the Atomic registry, private registries, local directories, and local OCI-layout directories.
  • Podman for running containers without the need for a daemon.

Install Podman on Fedora / CentOS

The podman package is available on Fedora & CentOS upstream repositories.

Fedora:

sudo dnf install -y podman

CentOS Stream:

sudo yum -y install podman

For a newer version check out: Installing Podman 3.x on CentOS 7 / RHEL 7

To view installed package details, use rpm command.

$ rpm -qi podman
Name        : podman
Epoch       : 5
Version     : 5.4.1
Release     : 1.fc42
Architecture: x86_64
Install Date: Wed 09 Apr 2025 03:08:23 PM EAT
Group       : Unspecified
Size        : 52578171
License     : Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
Signature   : RSA/SHA256, Tue 11 Mar 2025 11:12:38 PM EAT, Key ID c8ac4916105ef944
Source RPM  : podman-5.4.1-1.fc42.src.rpm
Build Date  : Tue 11 Mar 2025 10:59:50 PM EAT
Build Host  : buildvm-x86-11.iad2.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://podman.io/
Bug URL     : https://bugz.fedoraproject.org/podman
Summary     : Manage Pods, Containers and Container Images
...

After the installation, you can display information pertaining to the host, current storage stats, and build of podman.

 podman info

Try pull alpine Linux image.

$ podman pull alpine
Trying to pull registry.access.redhat.com/alpine:latest...Failed
Trying to pull docker.io/alpine:latest...Getting image source signatures
Copying blob sha256:e7c96db7181be991f19a9fb6975cdbbd73c65f4a2681348e63a141a2192a5f10
 2.63 MB / 2.63 MB [========================================================] 0s
Copying config sha256:055936d3920576da37aa9bc460d70c5f212028bda1c08c0879aedf03d7a66ea1
 1.48 KB / 1.48 KB [========================================================] 0s
Writing manifest to image destination
Storing signatures
055936d3920576da37aa9bc460d70c5f212028bda1c08c0879aedf03d7a66ea1

Check list of downloaded images.

$ podman images
REPOSITORY                 TAG      IMAGE ID       CREATED       SIZE
docker.io/library/alpine   latest   055936d39205   5 weeks ago   5.8 MB

Using Podman on Fedora / CentOS

Now that you have installed podman on Fedora and CentOS system, the next reading is on how to use it. We have a guide for this:

Conclusion

Podman shows a lot of promise in the future of Containerization. In fact, Red Hat did not just remove the Docker container engine from OpenShift. It also removed the Docker container engine, along with the docker command, from Red Hat Enterprise Linux 8 entirely. Thank you for reading through.

Also check:

How to Setup Docker Private Registry on Fedora / CentOS

How to Install Docker on CentOS / Fedora

LEAVE A REPLY

Please enter your comment!
Please enter your name here