How to Install Podman on Rocky Linux 8

Install Podman on Rocky Linux 8

To Install Podman on Rocky Linux 8 by using following command

yum install podman -y

Searching Podman for images

podman search <search-term>`

Pulling an image with Podman

podman pull
[root@localhost ~]# podman pull
Trying to pull
Getting image source signatures
Copying blob ab492cf0b2a4 [==================================] 23.3MiB / 23.3MiB
Copying blob 991f7f97a9d8 done
Copying blob 7284b4e0cc7b done
Copying blob 3678b2d55ccd done
Copying blob 69692152171a done
Copying config f3cffeea58 done
Writing manifest to image destination
Storing signatures

Running a Podman container

 podman run -dt -p 8080:80/tcp

Listing containers and their statuses

podman ps
[root@localhost ~]# podman ps
CONTAINER ID  IMAGE                    COMMAND           CREATED        STATUS            PORTS                 NAMES
f65b60527755  httpd-foreground  8 seconds ago  Up 7 seconds ago>80/tcp  thirsty_goldberg