Podman has that built in via Systemd.
[deleted]
Submitted 4 months ago by iturnedintoanewt@lemm.ee to selfhosted@lemmy.world
Comments
poVoq@slrpnk.net 4 months ago
possiblylinux127@lemmy.zip 4 months ago
So does docker and pretty much everything else
lemmeBe@sh.itjust.works 4 months ago
Yep. It’ll work fine until it doesn’t.
catloaf@lemm.ee 4 months ago
Docker: ouroboros. Linux: unattended-upgrades or dnf-automatic. Windows: MECM.
fangleone2526@lemmy.world 4 months ago
Why ouroborous over watchtower for docker ?
possiblylinux127@lemmy.zip 4 months ago
Ansible
Strit@lemmy.linuxuserspace.show 4 months ago
I run a script each week that updates docker images and restarts containers. And also every week I run a system update command and reboot the server afterwards.
You shouldn’t run a server, if you don’t have to time to maintain it.
tux0r@feddit.org 4 months ago
I update my servers with
pkg_add -u
. No reason to over complicate things.monomon@programming.dev 4 months ago
With Gitea/Forgejo you can run a local actions executor, which builds the images, pushes to gitea’s image registry, and using a script pulls them on the other side and restarts them. Worked fine in our small startup.
sunoc@sh.itjust.works 4 months ago
I set and update my containers with Ansible. It works well, but it’s a bit slow and it’s a whole setup on top of your deployment!