How to delete image from Azure Container Registry

You can use Azure CLI 2.0 to delete images from a repository with a given tag:

az acr repository delete -n MyRegistry --repository MyRepository --tag MyTag

  • MyRegistry is the name of your Azure Container Registry
  • MyRepository is the name of the repository
  • MyTag denotes the tag you want to delete.

You can also choose to delete the whole repository by omitting --tag MyTag. More information about the az acr repository delete command can be found here: https://docs.microsoft.com/en-us/cli/azure/acr/repository#delete


UPDATE COPIED FROM BELOW:

As an update, today we've released a preview of several features including repository delete, Individual Azure Active Directory Logins and Webhooks.

Original answer:

We are hardening up the registry for our GA release later this month. We've deferred all new features while we focus on performance, reliability and additional azure data centers, delivering ACR across all public data centers by GA. We will provide deleting of images and tags in a future release. We're started to use https://github.com/Azure/acr/ to track features and bugs. Delete is captured here: https://github.com/Azure/acr/issues/33

Thanks for the feedback, Steve