How To Install podman on Rocky Linux 8

In this tutorial we learn how to install podman on Rocky Linux 8. podman is Manage Pods, Containers and Container Images

Introduction

In this tutorial we learn how to install podman on Rocky Linux 8.

What is podman

podman (Pod Manager) is a fully featured container engine that is a simple daemonless tool. podman provides a Docker-CLI comparable command line that eases the transition from other container engines and allows the management of pods, containers and images. Simply put Most podman commands can be run as a regular user, without requiring additional privileges. podman uses Buildah(1) internally to create container images. Both tools share image (not container) storage, hence each can use or manipulate images (but not containers) created by the other. Manage Pods, Containers and Container Images podman Simple management tool for pods, containers and images

We can use yum or dnf to install podman on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install podman.

Install podman on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install podman using dnf by running the following command:

sudo dnf -y install podman

Install podman on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install podman using yum by running the following command:

sudo yum -y install podman

How To Uninstall podman on Rocky Linux 8

To uninstall only the podman package we can use the following command:

sudo dnf remove podman

podman Package Contents on Rocky Linux 8

/etc/cni/net.d/87-podman-bridge.conflist
/usr/bin/podman
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/a005445edea58c051bd997d4d171a80c93e9ce
/usr/lib/systemd/system/podman-auto-update.service
/usr/lib/systemd/system/podman-auto-update.timer
/usr/lib/systemd/system/podman.service
/usr/lib/systemd/system/podman.socket
/usr/lib/systemd/user/podman-auto-update.service
/usr/lib/systemd/user/podman-auto-update.timer
/usr/lib/systemd/user/podman.service
/usr/lib/systemd/user/podman.socket
/usr/lib/tmpfiles.d/podman.conf
/usr/share/bash-completion/completions/podman
/usr/share/doc/podman
/usr/share/doc/podman/CONTRIBUTING.md
/usr/share/doc/podman/README-hooks.md
/usr/share/doc/podman/README.md
/usr/share/doc/podman/install.md
/usr/share/doc/podman/transfer.md
/usr/share/fish/vendor_completions.d
/usr/share/fish/vendor_completions.d/podman.fish
/usr/share/licenses/podman
/usr/share/licenses/podman/LICENSE
/usr/share/man/man1/podman-attach.1.gz
/usr/share/man/man1/podman-auto-update.1.gz
/usr/share/man/man1/podman-build.1.gz
/usr/share/man/man1/podman-commit.1.gz
/usr/share/man/man1/podman-completion.1.gz
/usr/share/man/man1/podman-container-attach.1.gz
/usr/share/man/man1/podman-container-checkpoint.1.gz
/usr/share/man/man1/podman-container-cleanup.1.gz
/usr/share/man/man1/podman-container-commit.1.gz
/usr/share/man/man1/podman-container-cp.1.gz
/usr/share/man/man1/podman-container-create.1.gz
/usr/share/man/man1/podman-container-diff.1.gz
/usr/share/man/man1/podman-container-exec.1.gz
/usr/share/man/man1/podman-container-exists.1.gz
/usr/share/man/man1/podman-container-export.1.gz
/usr/share/man/man1/podman-container-init.1.gz
/usr/share/man/man1/podman-container-inspect.1.gz
/usr/share/man/man1/podman-container-kill.1.gz
/usr/share/man/man1/podman-container-list.1.gz
/usr/share/man/man1/podman-container-logs.1.gz
/usr/share/man/man1/podman-container-ls.1.gz
/usr/share/man/man1/podman-container-mount.1.gz
/usr/share/man/man1/podman-container-pause.1.gz
/usr/share/man/man1/podman-container-port.1.gz
/usr/share/man/man1/podman-container-prune.1.gz
/usr/share/man/man1/podman-container-ps.1.gz
/usr/share/man/man1/podman-container-rename.1.gz
/usr/share/man/man1/podman-container-restart.1.gz
/usr/share/man/man1/podman-container-restore.1.gz
/usr/share/man/man1/podman-container-rm.1.gz
/usr/share/man/man1/podman-container-run.1.gz
/usr/share/man/man1/podman-container-runlabel.1.gz
/usr/share/man/man1/podman-container-start.1.gz
/usr/share/man/man1/podman-container-stats.1.gz
/usr/share/man/man1/podman-container-stop.1.gz
/usr/share/man/man1/podman-container-top.1.gz
/usr/share/man/man1/podman-container-umount.1.gz
/usr/share/man/man1/podman-container-unmount.1.gz
/usr/share/man/man1/podman-container-unpause.1.gz
/usr/share/man/man1/podman-container-wait.1.gz
/usr/share/man/man1/podman-container.1.gz
/usr/share/man/man1/podman-cp.1.gz
/usr/share/man/man1/podman-create.1.gz
/usr/share/man/man1/podman-diff.1.gz
/usr/share/man/man1/podman-events.1.gz
/usr/share/man/man1/podman-exec.1.gz
/usr/share/man/man1/podman-export.1.gz
/usr/share/man/man1/podman-generate-kube.1.gz
/usr/share/man/man1/podman-generate-systemd.1.gz
/usr/share/man/man1/podman-generate.1.gz
/usr/share/man/man1/podman-healthcheck-run.1.gz
/usr/share/man/man1/podman-healthcheck.1.gz
/usr/share/man/man1/podman-help.1.gz
/usr/share/man/man1/podman-history.1.gz
/usr/share/man/man1/podman-image-build.1.gz
/usr/share/man/man1/podman-image-diff.1.gz
/usr/share/man/man1/podman-image-exists.1.gz
/usr/share/man/man1/podman-image-history.1.gz
/usr/share/man/man1/podman-image-import.1.gz
/usr/share/man/man1/podman-image-inspect.1.gz
/usr/share/man/man1/podman-image-list.1.gz
/usr/share/man/man1/podman-image-load.1.gz
/usr/share/man/man1/podman-image-ls.1.gz
/usr/share/man/man1/podman-image-mount.1.gz
/usr/share/man/man1/podman-image-prune.1.gz
/usr/share/man/man1/podman-image-pull.1.gz
/usr/share/man/man1/podman-image-push.1.gz
/usr/share/man/man1/podman-image-rm.1.gz
/usr/share/man/man1/podman-image-save.1.gz
/usr/share/man/man1/podman-image-search.1.gz
/usr/share/man/man1/podman-image-sign.1.gz
/usr/share/man/man1/podman-image-tag.1.gz
/usr/share/man/man1/podman-image-tree.1.gz
/usr/share/man/man1/podman-image-trust.1.gz
/usr/share/man/man1/podman-image-umount.1.gz
/usr/share/man/man1/podman-image-unmount.1.gz
/usr/share/man/man1/podman-image-untag.1.gz
/usr/share/man/man1/podman-image.1.gz
/usr/share/man/man1/podman-images.1.gz
/usr/share/man/man1/podman-import.1.gz
/usr/share/man/man1/podman-info.1.gz
/usr/share/man/man1/podman-init.1.gz
/usr/share/man/man1/podman-inspect.1.gz
/usr/share/man/man1/podman-kill.1.gz
/usr/share/man/man1/podman-load.1.gz
/usr/share/man/man1/podman-login.1.gz
/usr/share/man/man1/podman-logout.1.gz
/usr/share/man/man1/podman-logs.1.gz
/usr/share/man/man1/podman-manifest-add.1.gz
/usr/share/man/man1/podman-manifest-annotate.1.gz
/usr/share/man/man1/podman-manifest-create.1.gz
/usr/share/man/man1/podman-manifest-inspect.1.gz
/usr/share/man/man1/podman-manifest-push.1.gz
/usr/share/man/man1/podman-manifest-remove.1.gz
/usr/share/man/man1/podman-manifest.1.gz
/usr/share/man/man1/podman-mount.1.gz
/usr/share/man/man1/podman-network-connect.1.gz
/usr/share/man/man1/podman-network-create.1.gz
/usr/share/man/man1/podman-network-disconnect.1.gz
/usr/share/man/man1/podman-network-inspect.1.gz
/usr/share/man/man1/podman-network-ls.1.gz
/usr/share/man/man1/podman-network-reload.1.gz
/usr/share/man/man1/podman-network-rm.1.gz
/usr/share/man/man1/podman-network.1.gz
/usr/share/man/man1/podman-pause.1.gz
/usr/share/man/man1/podman-play-kube.1.gz
/usr/share/man/man1/podman-play.1.gz
/usr/share/man/man1/podman-pod-create.1.gz
/usr/share/man/man1/podman-pod-exists.1.gz
/usr/share/man/man1/podman-pod-inspect.1.gz
/usr/share/man/man1/podman-pod-kill.1.gz
/usr/share/man/man1/podman-pod-pause.1.gz
/usr/share/man/man1/podman-pod-prune.1.gz
/usr/share/man/man1/podman-pod-ps.1.gz
/usr/share/man/man1/podman-pod-restart.1.gz
/usr/share/man/man1/podman-pod-rm.1.gz
/usr/share/man/man1/podman-pod-start.1.gz
/usr/share/man/man1/podman-pod-stats.1.gz
/usr/share/man/man1/podman-pod-stop.1.gz
/usr/share/man/man1/podman-pod-top.1.gz
/usr/share/man/man1/podman-pod-unpause.1.gz
/usr/share/man/man1/podman-pod.1.gz
/usr/share/man/man1/podman-port.1.gz
/usr/share/man/man1/podman-ps.1.gz
/usr/share/man/man1/podman-pull.1.gz
/usr/share/man/man1/podman-push.1.gz
/usr/share/man/man1/podman-rename.1.gz
/usr/share/man/man1/podman-restart.1.gz
/usr/share/man/man1/podman-rm.1.gz
/usr/share/man/man1/podman-rmi.1.gz
/usr/share/man/man1/podman-run.1.gz
/usr/share/man/man1/podman-save.1.gz
/usr/share/man/man1/podman-search.1.gz
/usr/share/man/man1/podman-start.1.gz
/usr/share/man/man1/podman-stats.1.gz
/usr/share/man/man1/podman-stop.1.gz
/usr/share/man/man1/podman-system-connection-add.1.gz
/usr/share/man/man1/podman-system-connection-default.1.gz
/usr/share/man/man1/podman-system-connection-list.1.gz
/usr/share/man/man1/podman-system-connection-remove.1.gz
/usr/share/man/man1/podman-system-connection-rename.1.gz
/usr/share/man/man1/podman-system-connection.1.gz
/usr/share/man/man1/podman-system-df.1.gz
/usr/share/man/man1/podman-system-info.1.gz
/usr/share/man/man1/podman-system-migrate.1.gz
/usr/share/man/man1/podman-system-prune.1.gz
/usr/share/man/man1/podman-system-renumber.1.gz
/usr/share/man/man1/podman-system-reset.1.gz
/usr/share/man/man1/podman-system-service.1.gz
/usr/share/man/man1/podman-system.1.gz
/usr/share/man/man1/podman-tag.1.gz
/usr/share/man/man1/podman-top.1.gz
/usr/share/man/man1/podman-umount.1.gz
/usr/share/man/man1/podman-unmount.1.gz
/usr/share/man/man1/podman-unpause.1.gz
/usr/share/man/man1/podman-unshare.1.gz
/usr/share/man/man1/podman-untag.1.gz
/usr/share/man/man1/podman-version.1.gz
/usr/share/man/man1/podman-volume-create.1.gz
/usr/share/man/man1/podman-volume-inspect.1.gz
/usr/share/man/man1/podman-volume-ls.1.gz
/usr/share/man/man1/podman-volume-prune.1.gz
/usr/share/man/man1/podman-volume-rm.1.gz
/usr/share/man/man1/podman-volume.1.gz
/usr/share/man/man1/podman-wait.1.gz
/usr/share/man/man1/podman.1.gz
/usr/share/man/man5/oci-hooks.5.gz
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_podman

References

Summary

In this tutorial we learn how to install podman on Rocky Linux 8 using yum and dnf.