Free up space in Azure Container Registry

Umer Rashid 90 Reputation points
2023-10-27T16:44:09.6866667+00:00

Hello,

I have deleted repositories from my Azure Container Registry, but it still does not free up space, and the dashboard still shows me the same available space as before.

Can anyone please help me fix this problem? I am on a basic plan for Azure Container Registry,

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
465 questions
{count} vote

1 answer

Sort by: Most helpful
  1. shiva patpi 13,256 Reputation points Microsoft Employee
    2023-10-27T18:40:43.96+00:00

    @Umer Rashid ,

    If the soft delete was enabled for your ACR , those images will still be occupying the space in the ACR. Space will be reclaimed only after the retention period. (i.e., while enabling the soft delete you might have mentioned the retention period as 7 or 14) . So soft deleted images will be removed only after that retention period and corresponding space will be reclaimed !!

    I just tested locally on my ACR with Soft Delete Enabled and with out Soft Deleted Enabled. If the soft delete is not enabled , when I delete the image space got reclaimed immediately !

    Let us know if you have any follow-up questions !!

    Regards,

    Shiva.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.