How can i delete images from docker hub older than 30days

Hi All,

I want to delete all images from docker hub.

I have my own private repository in docker hub as a organization i want to delete my images or tags older above than 30days of it that should be delete through script.

Images or tags should be kept of 30days only above to it should be deleted the through a script.

Please help me how to do with a script

Note : my all repository are private and cannot make to public.
i need script so that it automatically delete the older than 30days above images.

1 Like