I created a multi-arch Docker image that uses cron to execute commands at specific times. The image includes the docker-cli alpine package, so mapping the docker socket to the container will allow scheduling docker commands.
For example, once a week prune images not used in the last week (168 hours)