4 ms·
Quadlets came up recently: Quadlet: Running Podman containers under systemd (mo8it.com) | 298 points | 68 comments | https://news.ycombinator.com/item?id=43456
by infogulch 2y ago
Quadlets came up recently:
Quadlet: Running Podman containers under systemd (mo8it.com) | 298 points | 68 comments | https://news.ycombinator.com/item?id=43456934 https://news.ycombinator.com/item?id=43456934
Where do quadlets fit in the container management landscape?
Running individual services that would have been RPMs? Docker compose? K8s?
- WesolyKubeczek 2y agoI run container sets (like you'd probably run with docker-compose) as systemd services using this.
- infogulch 2y agoHow do you manage and deploy it? Git a systemd directory?
- sc68cal 2y agoAnsible has support for quadlet creation in the containers.podman collection
- WesolyKubeczek 2y agoIt's my homeassistant setup. I run mosquitto, zigbee2mqtt, and homeassistant in it (everything they connect to is on the network, so no need to do USB access mumbo jumbo). I don't "manage" it; I have a yaml file (generated from running containers with "podman kube generate") in a directory along with volumes those containers need, and a file in /etc/containers/systemd pointing to that yaml file. That's it. And once all peripherals are seen and run correctly, I don't "manage" it as long as it works.
- c45y 2y agoIt's just a ~/.config/containers/systemd/ folder for rootless containers, I stuff the whole thing in a git repo
- pydry 2y agoquadlets is an answer to the question "but what if we also threw a docker compose substitute into the systemd kitchen sink"?
- steeleduncan 2y ago> Running individual services that would have been RPMs? Essentially this. Rather than adding anything on top of systemd (which is almost certainly running anyway) quadlets are a way of turning containers into systemd units, and directing systemd to run them I think it is the lightest weight, but still convenient, way of running a container as a daemon, with all the pros and cons that implies