mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix issue, as previous command was including a title row 'IMAGE'.
This commit is contained in:
@@ -14,7 +14,6 @@ else
|
||||
echo "Deleting images was successful."
|
||||
else
|
||||
echo "Deleting specified images failed, so falling back to delete ALL images on system."
|
||||
docker_images_list=$(docker images | awk '{print $3}' | uniq)
|
||||
docker rmi -f $docker_images_list
|
||||
docker rmi -f $(docker images -aq)
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user