Due to some internal issues, we need to remove unused images as soon as they become unused.
I do know it's possible to use Garbage collection but it doesn't offer strict policy as we need.
I've come across this solution but
- it's deprecated
- it also removes containers and possible mounted volumes
I was thinking about setting a cron job directly over the nodes to run docker prune but I hope there is a better way
No idea if it makes a difference but we are using AKS