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 docker.io/library/httpd
[root@localhost ~]# podman pull docker.io/library/httpd
Trying to pull docker.io/library/httpd:latest...
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
f3cffeea581b3306a13d80b25a437f73f767b8f27afdb29393b3764b9dfaea69
Running a Podman container
podman run -dt -p 8080:80/tcp docker.io/library/httpd
Listing containers and their statuses
podman ps
[root@localhost ~]# podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f65b60527755 docker.io/library/httpd httpd-foreground 8 seconds ago Up 7 seconds ago 0.0.0.0:8080->80/tcp thirsty_goldberg
CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME
for 10% off!
1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month
Available Locations: LAX | MIA | ATL | FRA | AMS