Quadlet

From wikinotes

Quadlet is a tool for generating systemd services from podman containers.
You can also describe a project as a podman-compose project, and generate systemd services for it as well.

The goal for the project is to be concise and change tolerant with sane defaults.

Documentation

man quadlet / podman-systemd.unit (incl. filetypes/opts) https://man.archlinux.org/man/quadlet.5.en
official multi-container tutorial https://www.redhat.com/sysadmin/multi-container-application-podman-quadlet
src https://github.com/containers/podman/tree/main/pkg/systemd/quadlet

Tutorials

https://mo8it.com/blog/quadlet/ intro

Locations

~/.config/containers/systemd/* generators for user systemd services (only for rootless podman)
/etc/containers/systemd/* generators for system systemd services
/usr/share/containers/systemd/* generators for system systemd services (installed by packages)
/usr/lib/podman/quadlet quadlet executable (not on path)

Notes

quadlet install
quadlet usage
quadlet syntax
quadlet examples

Examples

quadlet example: single container with volume