this post was submitted on 07 Feb 2023
5 points (100.0% liked)

Self-hosting

2765 readers
1 users here now

Hosting your own services. Preferably at home and on low-power or shared hardware.

Also check out:

founded 2 years ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[–] yuu@group.lt 2 points 2 years ago

The consequence of Docker Compose is that most people use podman containers the same way as they use docker containers. You first create the container, and then you figure a way out, how to restart the container on every reboot. And this approach does not work with podman auto-update, because it requires this process to be upside-down … Wait upside-down? … What do I mean with that?

The canonical way of starting podman containers at boottime is the creation of custom systemd units for them. This is cool and allows to have daemonless, independent containers running. podman itself provides a handy way of creating those system units, e.g. here for a new nginx container:

interesting... as far as i remember podman official docs say nothing about that; or at least i do not remember seeing anything. so i ended up using compose with the unofficial podman-compose, which ended up being very frustrating.

so i thought it was primarily meant for OpenShift instead.

maybe i'll give podman another try now that i'm aware of that systemd integation.

[–] TopHat@compuverse.uk 1 points 1 year ago

Now I honestly didn't know auto-updating podman containers is possible. Makes maintenance a hell lot easier, for non-production systems. Thanks for sharing the article!