Skip to content

Manage image retention, garbage collection and recovery in Container Registry

Last updated on

Managing storage and understanding how data is retained or permanently deleted is an important part of using the STACKIT Container Registry. This guide explains how our automated storage cleanup works and what steps to take if you accidentally delete something you need back.

When you delete an image tag using the Container Registry UI or API, the underlying data layers (blobs) are not immediately removed from the storage disks. Instead, they become “unreferenced.”

To maintain system performance and free up your storage quotas, STACKIT employs an automated Garbage Collector.

  • Schedule: The Garbage Collector is configured to run automatically every night.
  • Action: It scans for and permanently deletes any unreferenced image layers or artifacts that were marked for deletion during the day.

You do not need to manually trigger garbage collection; the system handles storage reclamation for you automatically.

Because the Garbage Collector runs nightly, there is a small window of time where “deleted” data still physically exists on the backend storage.

If you encounter an emergency where you have:

  • Accidentally deleted a repository within your project.
  • Accidentally deleted an entire project.

Action Required: Contact support immediately

If you need to restore a deleted repository or project, you must reach out to the STACKIT Support team right away.