1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/content/packages/managing-container-images-with-github-container-registry/deleting-a-container-image.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* 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
2020-09-29 16:01:04 -04:00

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**.
![Delete package button](/assets/images/help/package-registry/delete-package-button.png)
6. To confirm deletion, type the package name and click **I understand the consequences, delete this version**.
![Confirm package deletion button](/assets/images/help/package-registry/confirm-package-deletion.png)
### 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**.
![Delete package button](/assets/images/help/package-registry/delete-package-button.png)
6. To confirm deletion, type the package name and click **I understand the consequences, delete this version**.
![Confirm package deletion button](/assets/images/help/package-registry/confirm-package-deletion.png)