Chapter 21: Containers with Podman
Run containers as an ordinary user, publish ports and keep data safely, build your own image, and run a container as a systemd service that survives a reboot.
What you will learn
- Pull images by full name and run, inspect, stop and remove containers.
- Publish ports, pass settings, and keep data with bind mounts, volumes and the right SELinux option.
- Build and tag an image from a Containerfile.
- Run a container as a Quadlet user service with restarts, lingering and a firewall port.
Sections
- Images and containers
- Exercise: Run and manage containers
- Ports, settings and storage
- Exercise: Ports, mounts and volumes
- Building your own image
- Exercise: Build and version an image
- Containers as services with Quadlet
- Exercise: Run a container as a service
- Exercise: Containers review
- Podman containers quiz
- Podman containers cheat sheet