Skip to content

Delete a repository from Azure Container Registry #2445

Description

@sudoforge

It is not currently possible to delete an image from a repository in Azure Container Registry, either through the UI or the CLI tool -- other than manually looking at all of the digests for all of the layers of a specific image, and deleting those through the blob filesystem (this is an unreasonable method of deletion, prone to human error).

The registry API supports deleting images (all image layers): https://docs.docker.com/registry/spec/api/#deleting-an-image

az acr repository should support deleting an image repository from a specific registry, perhaps in the format of:

az acr repository delete --name MyRegistry --repo someRepo/someImage

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions