ikke-t / podman-container-systemd

creates systemd files and creates containers using podman
118 stars 44 forks source link

RFE: follow podman new feature to auto update containers #32

Closed ikke-t closed 3 years ago

ikke-t commented 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.

ikke-t commented 3 years ago

It turns out we don't need to do anything but add a label to container --label "io.containers.autoupdate=image"