Fixed links

This commit is contained in:
Brandon Rozek 2023-09-26 17:43:41 -04:00
parent 18ca6cae06
commit 1bb95f36d7
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
27 changed files with 100 additions and 100 deletions

View file

@ -10,7 +10,7 @@ tags:
title: Automatically Updating Podman Containers
---
Recently, I have been [transitioning to Podman](/blog/rootless-docker-compose-podman) for running my container infrastructure. In the process, I brought over Watchtower which I have previously used for auto-updating docker containers. Before doing so, I didn't check its [compatibility](https://github.com/containrrr/watchtower/issues/1060) (whoops) and found a few of my containers would every other week or so not come back up.
Recently, I have been [transitioning to Podman](/blog/rootless-docker-compose-podman/) for running my container infrastructure. In the process, I brought over Watchtower which I have previously used for auto-updating docker containers. Before doing so, I didn't check its [compatibility](https://github.com/containrrr/watchtower/issues/1060) (whoops) and found a few of my containers would every other week or so not come back up.
I then remembered that I restart my server for general system updates almost every day. What if I perform the podman container updates on start up? After modiyfing my systemd service to include an extra field called `ExecStartPre` and removing Watchtower, I found no more missing containers! The field `ExecStartPre` performs a pull (update) before starting up the containers via `ExecStart`.