containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
22.4k stars 2.31k forks source link

Support top-level type drop-ins for quadlet (pod.d, container.d, etc) #23158

Open benniekiss opened 3 days ago

benniekiss commented 3 days ago

Feature request description

Regular systemd unit files allow for top-level type drop-ins, such as service.d/ and socket.d/. Quadlet generated files should support this as well. For example, drop-in files in pod.d/ should be applied to all generated .pod files.

Luap99 commented 3 days ago

What kind of options would you like to set "globally"?

We already have a config file for setting defaults, containers.conf.

cc @ygalblum @alexlarsson

benniekiss commented 3 days ago

I was thinking more along the lines of [Unit], [Service], and [Install] sections to set these globally for Quadlet files. For instance, a global Restart=always or WantedBy=default.target