Skip to content

Commit 6f6c556

Browse files
fixed image removal command (#2813)
1 parent 828db76 commit 6f6c556

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OracleIdentityGovernance/samples/scripts/agentManagement.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ runAgent(){
301301
if [ "$operation" = "postUpgrade" ]
302302
then
303303
echo "INFO: Removing older image ${installedImageName}"
304-
docker image rmi "${installedImageName}" || true
304+
docker image rm "${installedImageName}" || true
305305
fi
306306
elif [ "$containerRuntime" = "podman" ]
307307
then
@@ -351,7 +351,7 @@ runAgent(){
351351
if [ "$operation" = "postUpgrade" ]
352352
then
353353
echo "INFO: Removing older image ${installedImageName} "
354-
podman image rmi "${installedImageName}" || true
354+
podman image rm "${installedImageName}" || true
355355
fi
356356
fi
357357
}

0 commit comments

Comments
 (0)