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
|
if [ "$(podman image inspect "$image" -f {{.Id}})" != "$iid" ]; then
|
||||||
# When container is stopped and a newer image is available,
|
# When container is stopped and a newer image is available,
|
||||||
# recreate the container instead of starting the existing one.
|
# recreate the container instead of starting the existing one.
|
||||||
|
echo "container has been updated"
|
||||||
podman_delete
|
podman_delete
|
||||||
podman_run
|
podman_run
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user