From d59ef411949564518e3b5d0b5bbc1625ede45486 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Mon, 6 Jul 2020 11:14:33 +0200 Subject: auto-update: clarify systemd-unit requirements Clarify in the help message and the man page that auto updates only work with systemd units that are similar to the ones from `generate systemd --new`. Units that merely start/stop a container do not work as they will use the same image. Fixes: #6793 Signed-off-by: Valentin Rothberg --- cmd/podman/auto-update.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/podman') diff --git a/cmd/podman/auto-update.go b/cmd/podman/auto-update.go index 7a67f3d18..a12eeb6cb 100644 --- a/cmd/podman/auto-update.go +++ b/cmd/podman/auto-update.go @@ -16,6 +16,8 @@ var ( autoUpdateDescription = `Auto update containers according to their auto-update policy. Auto-update policies are specified with the "io.containers.autoupdate" label. + Containers are expected to run in systemd units created with "podman-generate-systemd --new", + or similar units that create new containers in order to run the updated images. Note that this command is experimental. Please refer to the podman-auto-update(1) man page for details.` autoUpdateCommand = &cobra.Command{ Use: "auto-update [flags]", -- cgit v1.2.3-54-g00ecf