CentOS Stream 10: Add Container Images
Learn how to create new container images by modifying an existing image and committing changes as a new image.
May 25, 2026 • 3 min read
centoscentos-stream-10podmancontainerscontainer-images
Create new container images by modifying an existing image and committing the changes.
List Available Images
podman images
Modify a Container and Commit
Run a container and install httpd:
podman run centos:stream10 /bin/bash -c "dnf -y upgrade; dnf -y install httpd"
Find the container ID:
podman ps -a | tail -1
Commit the changes as a new image:
podman commit [CONTAINER_ID] srv.world/centos-httpd
Verify the New Image
podman images
Run the new image to verify httpd is installed:
podman run srv.world/centos-httpd /usr/sbin/httpd -V