←back to thread

180 points teleforce | 4 comments | | HN request time: 0.633s | source
Show context
infogulch ◴[] No.43685422[source]
Quadlets came up recently:

Quadlet: Running Podman containers under systemd (mo8it.com) | 298 points | 68 comments | 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?

replies(3): >>43685503 #>>43687101 #>>43687187 #
WesolyKubeczek ◴[] No.43685503[source]
I run container sets (like you'd probably run with docker-compose) as systemd services using this.
replies(1): >>43685569 #
1. infogulch ◴[] No.43685569[source]
How do you manage and deploy it? Git a systemd directory?
replies(3): >>43685798 #>>43685826 #>>43686508 #
2. sc68cal ◴[] No.43685798[source]
Ansible has support for quadlet creation in the containers.podman collection
3. WesolyKubeczek ◴[] No.43685826[source]
It'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.

4. c45y ◴[] No.43686508[source]
It's just a ~/.config/containers/systemd/ folder for rootless containers, I stuff the whole thing in a git repo