Working With Containers
Working with Podman
Containers under the control of Podman can either be run by root or by a non-privileged user. Podman manages the entire container ecosystem which includes pods, containers, container images, and container volumes using the libpod library. Podman, by default, creates rootless containers.
Managing a container
To manage a container, the order should be basically as follows,
- search the image
- pull the image
- Create a container
- Start the container
- Open a shell that can access the container
Before diving into to managing and accessing containers, have a look at system setup
Setup
Prepare the system
After installing the operating system, the packages and system updates are often older. It is recommended to update it before proceeding.
sudo dnf -y update && \
podman -v || sudo dnf install -y podman && \
skopeo -v || sudo dnf install -y skopeo && \
buildah -v || sudo dnf install -y buildah && \
udica -v || sudo dnf install -y udica \rpm-ostree update && \
podman -v || rpm-ostree install -y podman && \
skopeo -v || rpm-ostree install -y skopeo && \
buildah -v || rpm-ostree install -y buildah && \
udica -v || rpm-ostree install -y udica \sudo zypper -y update && \
podman -v || sudo zypper install -y podman && \
skopeo -v || sudo zypper install -y skopeo && \
buildah -v || sudo zypper install -y buildah && \
udica -v || sudo zypper install -y udica \Created: 2026 May 29
Corporate Author: Carbonwarp
Authors: Hayam A.