Skip to main content

Delete a container registry project

Deleting a project permanently deletes every repository and image in it, stops its storage charges, and frees its name for anyone to take. This page shows how to delete a project with every tool, what happens step by step, and what to check first.

Deleting a project is permanent

Images in a deleted project can't be recovered. Anything that pulls them, such as Kubernetes deployments, CI jobs and servers, fails on its next pull. Copy any image you want to keep to another project first (see Copy an image to another project).

Before you begin​

  • The Owner or Admin role. Members with the Restricted role and read-only API tokens can't delete projects.
  • The project isn't Creating or already Terminating.
  • Find what still pulls from the project: search your manifests, Helm values, Compose files and CI pipelines for registry.cloider.com/<project>/. The Last pulled column in the Repositories tab shows which images are still in use.

You don't need to delete images or policies first: deleting the project removes everything, including images protected by immutable tags.

Delete a project​

  1. Open Registry in the sidebar.
  2. Either open the actions menu on the project's row and choose Delete, or open the project, go to the Settings tab and, under Delete project (This action is irreversible. Every image in the project is permanently deleted and cannot be recovered.), click Delete project.
  3. The Delete Project dialog warns that every image goes with it and that its name is free for anyone to take afterwards. Click I want to delete the project.
  4. Type the project's name, for example acme, and click Delete project.

The project shows Terminating in the list while its images are deleted, then disappears.

What happens when you delete a project​

  1. The project's status changes to Terminating, and no settings change can run on it any more.
  2. Registry tokens lose access to the project right away, so nothing can push into it while it is emptied.
  3. Every repository and image is deleted, including images protected by immutable tags. A project with many repositories takes longer.
  4. The project is deleted, disappears from your list, and its name becomes free for anyone on Cloider.

If something goes wrong on the way, the project shows Failed; delete it again from its Settings tab or contact support.

What happens to tokens​

Tokens aren't deleted with a project:

  • A token for All projects keeps working for your other projects.
  • A token that named this project among others keeps working for the others.
  • A token that named only this project reaches nothing: the token list shows None left under Projects. Delete it, or edit it to reach another project.

See Registry tokens.

Billing after deleting​

Storage is billed until the project is deleted. Costs for the days before deletion stay on the month's bill, and the project's line appears in Usage for that month.

The apps project can't be deleted​

The project with the Apps badge holds your apps' images and is managed by Cloider: it has no Delete action, and the API answers This project holds your apps' images and is managed by Cloider, it can't be deleted. Deleting an app deletes its images. An apps project in the Failed status never held images and can be deleted.

Reusing the name​

After deletion the name is free for anyone on Cloider, not only your account. To recreate a project with the same name, create it as soon as the deletion is done. To move to a new name instead, copy your images first, then delete the old project.

Troubleshooting​

ErrorCause and fix
This project is still being created!Wait until it is Ready or Failed
This project is already being deleted!Wait for the deletion to finish
Another change to this project is in progress, try again in a moment!A settings change is running. Retry
This project holds your apps' images and is managed by Cloider, it can't be deleted.See the section on the apps project above
You have read-only access to this account, you can not delete projects!Your role is Restricted or your API token is read-only
deleting project acme needs --yes when not running in a terminal (CLI)Add --yes in scripts and CI
the name didn't match, nothing was deleted (CLI)Type the project's exact name
Project stuck in Terminating for a long timeProjects with many repositories take longer. If it doesn't finish, contact support

Next steps​