* Add back changes from prior to purge * Manually fix some invalid Liquid * Updoot render-content * Improve test messages to show correct output * Run el scripto * Pass the remaining test
42 lines
2.0 KiB
Markdown
42 lines
2.0 KiB
Markdown
---
|
|
title: Deleting a container image
|
|
intro: 'You can delete a version of a private container image using GraphQL or on {% data variables.product.prodname_dotcom %}.'
|
|
product: '{% data reusables.gated-features.packages %}'
|
|
versions:
|
|
free-pro-team: '*'
|
|
---
|
|
|
|
{% 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.
|
|
|
|
|
|
|
|
### Reserved package versions and names
|
|
|
|
{% data reusables.package_registry.package-immutability %}
|
|
|
|
### 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**.
|
|

|