Commit 2c34456
committed
Add --pull=newer when running the container
From https://docs.podman.io/en/latest/markdown/podman-run.1.html#pull-policy
Pull image policy. The default is missing.
always: Always pull the image and throw an error if the pull fails.
missing: Pull the image only if it could not be found in the local
containers storage. Throw an error if no image could be found and
the pull fails.
never: Never pull the image but use the one from the local containers
storage. Throw an error if no image could be found.
newer: Pull if the image on the registry is newer than the one in
the local containers storage. An image is considered to be newer
when the digests are different. Comparing the time stamps is prone
to errors. Pull errors are suppressed if a local image was found.
Switching to pull=newer will allow us to keep this image uptodate for
users without erroring out if podman cannot check or pull a new image
(i.e. we'd keep running the local one)1 parent b23bd64 commit 2c34456
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments