New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete API not supported #33
Comments
See public discussion here: http://stackoverflow.com/questions/41446962/how-to-delete-image-from-azure-container-registry |
@SteveLasker Can we increase the priority on this? I am somewhat surprised CR got to GA without the ability to delete a repository. |
Delete of an image isn't yet supported by Docker either. You can of course delete the repo. |
I understand that it's good for Azure's business that we can not delete any images, so my monthly bill keeps increasing. More important in this context however - Is there any limit on the size of an ACR repository? |
I'm sorry Marcus, we are working through the delete capabilities and will have it out asap. The feature is part of the managed storage feature which we believe will provide many more benefits as a group. Once we get managed storage in place, it will be easier for us to get features out more quickly. |
@SteveLasker can you confirm that we can still delete images by deleting blobs in the storage account ? |
@titilambert - The manifests can be deleted in your storage account. The name of the container in your storage account is the name of your registry. Here I have an image tagged I can remove the folder Layer data (the actual manifest and binary blobs) aren't stored in that folder and instead under blobs. For e.g. If the manifest has a sha256 of
And if you list repositories now you will see only |
@sajayantony Thanks ! This is really helpful ! |
@yuwaMSFT2 do you know of any side effects to dropping the tag folder, such as issues to reference links. |
No...you can delete the tag folder if you don't want the image:tag to be retrievable. A specific version of manifest has another reference here: |
https://docs.microsoft.com/en-us/cli/azure/acr/repository#delete |
Closing this issue since deletes are now available through the new SKUs which are currently in preview. |
Somebody who wants to post azure-cli example usage here? |
Usage of delete? I realized I posted the wrong doc link above: |
This is a tracking issue which was called out in our CLI repository Azure/azure-cli#2445
The text was updated successfully, but these errors were encountered: