In Azure, there's no easy way to delete obsolete, untagged Docker images from the container registry. This quickly gets to be a problem with the basic 10GB storage space. As shown in the answers to this question, and in Microsoft's documentation, it is possible using az
commands in the console. That's fine for one-time use, but we have containers being pushed up there by CI, and need to run it on a schedule.
I looked at Azure automation runbooks, scheduler jobs, and timer-triggered functions. They all offer ways to do things on a schedule, but none of them allows me to simply run something at the Azure console.
Do I have to schedule this on a local machine? That seems crazy.