Skip to content
Snippets Groups Projects
Commit 50725376 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

L2SS-2256: Wow: I overlooked that I need to use the IDs of the images

parent 3aeea57c
No related branches found
No related tags found
1 merge request!41L2SS-225: Fix rebuild_system_from_scratch.sh to also function on CentOS7
......@@ -49,7 +49,7 @@ function move_tango_dir_out_of_the_way()
function remove_images()
{
images="$(for i in $(docker images | egrep -v "REPOSITORY" | awk '{printf "%s:%s\n", $1, $2}'); do printf "%s " ${i}; done)"
images="$(for i in $(docker images -q); do printf "%s " ${i}; done)"
if [ ${#images} -eq 0 ]; then
echo -e "\tThere are no images to delete."
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment