1.9 KiB
title, intro, product, versions
| title | intro | product | versions | ||
|---|---|---|---|---|---|
| Deleting a container image | You can delete a version of a private container image using GraphQL or on {% data variables.product.prodname_dotcom %}. | {% data reusables.gated-features.packages %} |
|
{% data reusables.package_registry.container-registry-beta %}
About package deletion
You can remove an entire container image or a specific version on {% data variables.product.prodname_dotcom %}. To delete a container image, you must use the UI. Using GraphQL to delete a container image is not supported at this time.
To delete a container image, you must have admin permissions to the container image.
When deleting public packages, be aware that you may break projects that depend on your package.
Deleting a version of a user-owned container image on {% data variables.product.prodname_dotcom %}
{% data reusables.package_registry.package-settings-from-user-level %}
5. On the left, click Manage versions.
5. To the right of the version you want to delete, click Delete.
6. To confirm deletion, type the package name and click I understand the consequences, delete this version.

Deleting a version of an organization-owned container image on {% data variables.product.prodname_dotcom %}
{% data reusables.package_registry.package-settings-from-org-level %}
5. On the left, click Manage versions.
5. To the right of the version you want to delete, click Delete.
6. To confirm deletion, type the package name and click I understand the consequences, delete this version.
