Run containers as systemd services with Podman Quadlet

8 steps · about 1 h 32 min · Intermediate

  1. Run your first containers with Podman (reference, Podman, 10 min)

    Shows the daemonless model and the Docker-compatible commands.

  2. Set up rootless Podman with subuids and storage (guide, Podman, 15 min)

    Covers the user-namespace setup that rootless services depend on.

  3. Write .container and .pod Quadlet unit files (reference, Podman, 25 min)

    Is the reference for every key systemd turns into a service.

  4. Replace generated unit files with Quadlet (article, Red Hat, 10 min)

    Explains why Quadlet is the supported way to run containers under systemd.

  5. Group related containers in a Podman pod (reference, Podman, 10 min)

    Shows how containers share a network namespace like a Kubernetes pod.

  6. Run and inspect container health checks (reference, Podman, 6 min)

    Lets systemd and you see when a service is unhealthy.

  7. Update container images automatically with podman auto-update (reference, Podman, 10 min)

    Keeps services current with rollback if the new image fails.

  8. Pass credentials to containers with Podman secrets (reference, Podman, 6 min)

    Keeps passwords out of unit files and images.