Closed ikke-t closed 3 years ago
Se have a method currently to update rhe container image while re-running the playbook. Now podman came up with built in feature to update the container images. Let's switch to that.
The guide in here http://docs.podman.io/en/latest/markdown/podman-auto-update.1.html
The principle is the pod is labeled to want to receive updates. The we need to add systemd cron task to run podman auto-update periodicly.
It turns out we don't need to do anything but add a label to container --label "io.containers.autoupdate=image"
--label "io.containers.autoupdate=image"
Se have a method currently to update rhe container image while re-running the playbook. Now podman came up with built in feature to update the container images. Let's switch to that.
The guide in here http://docs.podman.io/en/latest/markdown/podman-auto-update.1.html
The principle is the pod is labeled to want to receive updates. The we need to add systemd cron task to run podman auto-update periodicly.