Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Delete specific image from docker registry #26256

Closed
lonix1 opened this issue Aug 1, 2023 · 8 comments
Closed

[Feature Request] Delete specific image from docker registry #26256

lonix1 opened this issue Aug 1, 2023 · 8 comments
Labels
topic/packages type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@lonix1
Copy link
Contributor

lonix1 commented Aug 1, 2023

Feature Description

It would be nice if we could delete a specific tag/version from the docker registry. The same is possible on docker hub.

Examples: one makes a mistake and wants to remove that image, or an exploit was discovered in a certain version. In such cases, it's desirable to delete those images from the registry.

Screenshots

No response

@lonix1 lonix1 added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Aug 1, 2023
@KN4CK3R
Copy link
Member

KN4CK3R commented Aug 1, 2023

You can do that from the UI. But you have to take care about deleting an image which is used in a manifest list because that list is broken afterwards.

@lonix1
Copy link
Contributor Author

lonix1 commented Aug 1, 2023

You can do that from the UI.

I'm surprised because I looked everywhere... where can I find the delete option?

@KN4CK3R
Copy link
Member

KN4CK3R commented Aug 1, 2023

On the settings page of a package version there is a delete button.

@lonix1
Copy link
Contributor Author

lonix1 commented Aug 1, 2023

I think that's to delete the entire package rather than a specific version. But maybe I am misunderstanding?

What I did:

  • go to organisation
  • click Packages tab
  • click desired package (in my case it's a docker image)
  • in the panel on the right, click the desired version at the bottom
  • in the panel on the right, click the "Settings" link

The page that loads shows "Danger Zone" and the "Delete package" button. But that will delete the entire package, not just a specific version.

@lonix1
Copy link
Contributor Author

lonix1 commented Aug 1, 2023

LOL I just tried it and it works!

🤡

@lonix1
Copy link
Contributor Author

lonix1 commented Aug 1, 2023

As you can see it's not user friendly. It is presented as an option to delete "the package", rather than a specific version.

Maybe the wording could be improved.

@KN4CK3R
Copy link
Member

KN4CK3R commented Aug 1, 2023

related #25559 (comment)

@lonix1
Copy link
Contributor Author

lonix1 commented Aug 1, 2023

Maybe we can close this issue then and I can add a small comment to that one instead.

Thanks for your help @KN4CK3R I appreciate it.

@lonix1 lonix1 closed this as completed Aug 1, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/packages type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

2 participants