Skip to content

Configure ACR retention policies#

Cost Optimization · Container Registry · Azure.ACR.Retention

Use a retention policy to cleanup untagged manifests.


Retention policy is a configurable option of Premium Azure Container Registry (ACR). When a retention policy is configured, untagged manifests in the registry are automatically deleted. A manifest is untagged when a more recent image is pushed using the same tag. i.e. latest.

The retention policy (in days) can be set to 0-365. The default is 7 days.


Consider enabling a retention policy for untagged manifests.


Retention policies for Azure Container Registry is currently in preview.

Last update: 2021-09-24