The source project of this merge request has been removed.
Feature/better clear docker cache
What does this MR do?
Improve error handling and shell scripting in the clear-docker-cache
shell script
Why was this MR needed?
As a user, when running this command in a crontab, I want to see verbose error output when debugging.
Moreover, using xargs
to remove the docker images is cleaner than storing the list of images in a string and then checking if that string is empty or not.
What's the best way to test this MR?
You can test this script by turning docker on/off on your host machine and viewing the error/success messages.
What are the relevant issue numbers?
Edited by Elliot Rushton