parent
a67ea6c795
commit
89dbfcb996
1
enter.sh
1
enter.sh
@ -86,6 +86,7 @@ podman pull -q "$image" 1>/dev/null
|
||||
if [ "$(podman image inspect "$image" -f {{.Id}})" != "$iid" ]; then
|
||||
# When container is stopped and a newer image is available,
|
||||
# recreate the container instead of starting the existing one.
|
||||
echo "container has been updated"
|
||||
podman_delete
|
||||
podman_run
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user