diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-07-06 11:14:33 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-07-06 13:08:56 -0400 |
commit | d59ef411949564518e3b5d0b5bbc1625ede45486 (patch) | |
tree | 69ed9c84b8ae51c64cbf82c3ac73ee7236a5593d /docs/source/markdown | |
parent | 0e547a4cc3c8c49053338ea73c02be708257c3d9 (diff) | |
download | podman-d59ef411949564518e3b5d0b5bbc1625ede45486.tar.gz podman-d59ef411949564518e3b5d0b5bbc1625ede45486.tar.bz2 podman-d59ef411949564518e3b5d0b5bbc1625ede45486.zip |
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 <rothberg@redhat.com>
Diffstat (limited to 'docs/source/markdown')
-rw-r--r-- | docs/source/markdown/podman-auto-update.1.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-auto-update.1.md b/docs/source/markdown/podman-auto-update.1.md index 90e581e42..73d75be1f 100644 --- a/docs/source/markdown/podman-auto-update.1.md +++ b/docs/source/markdown/podman-auto-update.1.md @@ -23,6 +23,9 @@ Note that `podman auto-update` relies on systemd and requires a fully-qualified This enforcement is necessary to know which image to actually check and pull. If an image ID was used, Podman would not know which image to check/pull anymore. +Moreover, the systemd units are expected to be generated with `podman-generate-systemd --new`, or similar units that create new containers in order to run the updated images. +Systemd units that start and stop a container cannot run a new image. + ## OPTIONS **--authfile**=*path* |