podman-auto-update(1) General Commands Manual podman-auto-update(1) (NAME) podman-auto-update - (SYNOPSIS) podman auto-update [] (DESCRIPTION) podman auto-update . systemd . systemd . systemd podman-systemd.unit(5) . io.containers.autoupdate AutoUpdate podman- systemd.unit(5) : o registry: registry . image registry . . systemd . (fully-qualified quay.io/podman/stable:latest) . . . o local: autoupdate local . systemd . YAML (Auto Updates and Kubernetes YAML) . podman-systemd.unit(5) YAML : o io.containers.autoupdate: "registry|local" o io.containers.autoupdate/$container: "registry|local" $container o io.containers.sdnotify: "conmon|container" sdnotify o io.containers.sdnotify/$container: "conmon|container" sdnotify $container autoupdate "disabled" sdnotify "conmon" . Systemd (Systemd Unit and Timer) systemd podman-auto-update.service . systemd podman-auto-update.timer . . systemd ( ) systemctl start podman-auto-update.service . (OPTIONS) --authfile= . ${XDG_RUNTIME_DIR}/containers/auth.json / $HOME/.config/containers/auth.json . podman login . $HOME/.docker/config.json docker login . : REGISTRY_AUTH_FILE . export REGISTRY_AUTH_FILE=path . io.containers.autoupdate.authfile . . --dry-run . UPDATED "pending" . --format= . 'json' Go . Go : +-------------------------------+-----------------------------------------------------+ | | | +-------------------------------+-----------------------------------------------------+ |.Container | | +-------------------------------+-----------------------------------------------------+ |.ContainerID | | +-------------------------------+-----------------------------------------------------+ |.ContainerName | | +-------------------------------+-----------------------------------------------------+ |.Image | | +-------------------------------+-----------------------------------------------------+ |.Policy | | | | | | | | +-------------------------------+-----------------------------------------------------+ |.Unit | systemd | +-------------------------------+-----------------------------------------------------+ |.Updated | : | | | true false failed pending | +-------------------------------+-----------------------------------------------------+ --rollback systemd (rollback) . true . systemd READY SDNOTIFY . (timeout) . systemd . READY SDNOTIFY --sdnotify=container ( podman-run(1) ). systemd-notify --ready sdnotify ( sd_notify(3)) . --tls-verify HTTPS (: true). true TLS . false TLS . TLS containers-registries.conf(5) . (EXAMPLES) Quadlet : $ cat ~/.config/containers/systemd/sleep.container [Container] Image=registry.fedoraproject.org/fedora:latest Exec=sleep infinity AutoUpdate=registry systemd Quadlet systemd: $ systemctl --user daemon-reload systemd : $ systemctl --user start sleep.service $ podman ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f8e4759798d4 registry.fedoraproject.org/fedora:latest sleep infinity 2 seconds ago Up 2 seconds systemd-sleep --dry-run: $ podman auto-update --dry-run --format "{{.Image}} {{.Updated}}" registry.fedoraproject.org/fedora:latest pending : $ podman auto-update UNIT CONTAINER IMAGE POLICY UPDATED sleep.service f8e4759798d4 (systemd-sleep) registry.fedoraproject.org/fedora:latest registry true (SEE ALSO) podman(1), podman-generate-systemd(1), podman-run(1), podman- systemd.unit(5), sd_notify(3), systemd.unit(5) podman-auto-update(1)