← Back to list

Podman

Podman = a modern, secure, daemonless container engine for Linux, often used as a drop-in Docker replacement.

Kiran Patil · 2025-07-19 08:23 · 0 claps · 1.7 min read
#podman #rhel-8 #rhcsa-exam
Open on Medium ↗
Wiki topics: ☁️ · DevOps & Cloud 🔓 · Open Source

Podman

Podman = a modern, secure, daemonless container engine for Linux, often used as a drop-in Docker replacement.

Install Podman

Install the required packages:

  • yum install podman,container-tools -y

Login to Container Registry (First You Need To Create Account On https://developers.redhat.com/)

  • podman login registry.redhat.io

Search for Images (Suppose You Need Httpd Image)

  • podman search httpd

Pull an Image

  • podman pull <image-name>

Delete an Image

  • podman rmi <ImageId>

Run a Container

  • podman run -d — name web1 -p 8080:80 <image-id >

Stop a Container

  • podman stop <Container-ID>

For RHCSA Exam Question

  • Create a container name web1 From the image at docker.io/buzzardev/httpd from the user name nick.

  • Create a container name web2,map the port 8080:80 and mount a volume /home/nick/web on the system to var/www/html on the container.

First You need to Create the directory (mkdir -p /home/nick/web).

  • Run The Container as a systemd service. Name the service container-web2.service


메타데이터
post_id
3aa47d8a5eda
slug
podman-3aa47d8a5eda
url
https://medium.com/@patilkp7721/podman-3aa47d8a5eda
canonical_url
https://medium.com/@patilkp7721/podman-3aa47d8a5eda
author_url
https://medium.com/@patilkp7721
status
ok
fetched_at
2026-07-28 20:20:15