Skip to main content

CentOS Stream 10: Install Podman

Install Podman, a container management tool, on CentOS Stream 10. Pull images, run containers interactively and as daemons.

May 25, 2026 3 min read
centoscentos-stream-10podmancontainerscontainer-management

Install Podman, a container management tool, on CentOS Stream 10.

Install Podman

dnf -y install podman

Pull an Image and Run a Container

Download an official image and create a container that outputs "Welcome to the Podman World":

podman pull centos:stream10
podman run centos:stream10 /bin/echo "Welcome to the Podman World"

Interactive Session

Connect to the interactive session of a container with -i and -t options. Exit the session to stop the container:

podman run -it centos:stream10 /bin/bash
uname -a
exit

Run Container as Daemon

Use the -d option to run a container in the background:

podman run -itd centos:stream10 /bin/bash

List running containers:

podman ps

Attach to the running container session:

podman exec -it [CONTAINER_ID] /bin/bash

Stop the container:

podman kill [CONTAINER_ID]