|
|
Subscribe / Log in / New account

Quadlet

Quadlet

Posted Jul 27, 2022 19:16 UTC (Wed) by rjones (subscriber, #159862)
In reply to: Quadlet by tau
Parent article: Docker and the OCI container ecosystem

One thing that kinda sucks about podman systemd integration, which may not be avoidable, is that the files it generates is can be very specific to the version of systemd you are using. I toyed with the idea that I could just use the podman command to generate templates I could use via ansible or whatnot, but it didn't really work out.

That was a while ago, though. Maybe it's better now.


to post comments

Quadlet

Posted Jul 27, 2022 20:05 UTC (Wed) by mathstuf (subscriber, #69389) [Link]

> I toyed with the idea that I could just use the podman command to generate templates I could use via ansible or whatnot, but it didn't really work out.

`quadlet` mentioned elsewhere in the comments seems like it'd work better. But can't you have Ansible run the generator command as your "sync" rather than expecting specific file contents?

Quadlet

Posted Jul 28, 2022 9:08 UTC (Thu) by valberg (guest, #83862) [Link]

There are plans to integrate Quadlet into the containers/podman project such that they can be released simultaneously. Quadlet and Podman can then also share the generate-systemd logic.

Starting with Podman v4.2 (to be released in early August), you can also use a systemd template to run Kubernetes YAML [1]. That simplifies the workload quite a bit as we only need to feed the YAML file to the template and systemd and Podman will take care of the rest.

[1] https://github.com/containers/podman/blob/main/docs/sourc...


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds