Run garbage collection with -f without asking questions (#4147)

master
Claus Overbeck 2021-06-17 06:26:59 +02:00 committed by GitHub
parent 3ec1b856c7
commit 6f02833d89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -106,7 +106,8 @@ docker_garbage() {
echo "OK, skipped."
fi
else
echo "Skipped image removal because of force mode."
echo "Running image removal without extra confirmation due to force mode."
docker rmi ${IMGS_TO_DELETE[*]}
fi
fi
echo -e "\e[32mFurther cleanup...\e[0m"