This article will show you how to install podman 4 on RHEL 7 server
Remove podman if exists
sudo yum -y remove podman
Add EPEL repo
sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Install snapd
sudo yum install snapd
# Enable snapd socket
sudo systemctl enable --now snapd.socket
# Link snapd
sudo ln -s /var/lib/snapd/snap /snap
Install podman via snap
sudo snap install podman --edge
Reference:
https://snapcraft.io/install/podman/rhel