Can someone help me on how to clean up containers and images which are 3 months older automatically by using crontab scheduling.? Which type of method need to use for automation.? I have manually tried deleting by using below commands and it worked but I need to automate it, to perform action for every 3 months without manual action.
docker image prune --force --filter “until=2020-01-01T00:00:00” docker container prune --force --filter “until=2020-01-01T00:00:00”
docker image prune --force --filter “until=2020-01-01T00:00:00”
docker container prune --force --filter “until=2020-01-01T00:00:00”