Learn › RHCSA (EX200)
Containers
Find, pull, and run containers with podman. Build images from Containerfiles. Configure persistent storage with volumes and the :Z SELinux flag. Run containers as rootless systemd services.
Labs in this module
- Container Concepts and podman - Containers are isolated process groups, not virtual machines. podman is the RHEL container tool (not docker). Understand images, registries,
- Find and Retrieve Images - Search registries, inspect images before pulling, and manage local image storage. podman search and skopeo inspect are the tools.
- Running Containers - Run containers interactively and in the background. Map ports, pass environment variables, exec into running containers, and check logs. The
- Containerfile Builds - Build custom container images from Containerfiles (same syntax as Dockerfile). The exam may ask you to build an image that runs a specific s
- Persistent Storage - Containers are ephemeral. Data must survive container removal. Use volumes and bind mounts. On RHEL with SELinux, the :Z flag is mandatory f
- Containers as systemd Services - Run a container as a systemd user service that starts on boot. This requires podman generate systemd, user units in ~/.config/systemd/user/,
- Capstone: Rootless Web Service - Build, deploy, and persist a rootless web container as a systemd user service. Bind mount with :Z for SELinux, map a port, enable linger, an