How to delete docker images from docker hub using a shell script.
I want to delete all images from docker hub older than past 50 days of a private docker hub account.
Any ideas? Which tools to use while creating and running this shell script from either through Jenkins or bash terminal.
I'm thinking of using curl to achieve my goal.
Best Answer
Below script will delete all images in all repositories of your docker hub account which are older than 50 days.