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

Add ability to delete tags #68

Closed
cgswong opened this issue Jun 16, 2015 · 72 comments
Closed

Add ability to delete tags #68

cgswong opened this issue Jun 16, 2015 · 72 comments

Comments

@cgswong
Copy link

cgswong commented Jun 16, 2015

I sometimes refactor code and completely change my tagging style (from say v4.0 to 4.0), or just want to remove a beta tag once the code is released so that is no longer available. I understand this may impact downstream users using the previous tags but I think it would still be good to delete tags without making a support request.

@jakirkham
Copy link
Contributor

+1

@posita
Copy link

posita commented Aug 8, 2015

This functionality was at least available in the old UI. It has always (frustratingly) been manual-only1, but not even that is available in the "beta". 😞

1 By which I mean curl -X DELETE ... --user ... https://index.docker.io/v1/repositories/<OWNER>/<REPO>/tags/<TAG> doesn't work. It results in a 403 Forbidden error. See also moby/moby#8759.

@kunickiaj
Copy link

+1

@pward123
Copy link

+1

4 similar comments
@thiagozs
Copy link

+1

@yveshwang
Copy link

+1

@sebest
Copy link

sebest commented Aug 19, 2015

+1

@michaelgruber
Copy link

+1

@jgkamat
Copy link

jgkamat commented Aug 27, 2015

+1, this is pretty important functionality.

@kunickiaj
Copy link

Seems like some older tags are being automatically wiped out? Is there some undocumented limit? Since it's still not possible to manage your own tags this is a huge problem.

@rrarunan
Copy link

@kunickiaj See #194. We show only 100 tags at a time in the web interface. Is the assumption of older tags not available coming from just the UI or does your pull not work for example with the older tags? And, this should discussed in a different issue, if #194 is not the case for you.

@posita posita mentioned this issue Aug 28, 2015
@schmunk42
Copy link

+1 - very important feature

@aayore
Copy link

aayore commented Sep 2, 2015

+1

3 similar comments
@arnau
Copy link

arnau commented Sep 13, 2015

+1

@n0mer
Copy link

n0mer commented Sep 17, 2015

+1

@jawaid
Copy link

jawaid commented Sep 18, 2015

+1

@jfriv
Copy link

jfriv commented Oct 8, 2015

+1

1 similar comment
@arangamani
Copy link

+1

@yoanisgil
Copy link

Who many +1 it takes before we get at least an initial feedback? Anyhow:

+1

@jakirkham
Copy link
Contributor

I think this is the relevant issue for implementing this feature ( distribution/distribution#422 ).

@yoanisgil
Copy link

@jakirkham distribution/distribution#461 and distribution/distribution#462 are the actual issues to keep track of progress. Still I think it would be nice if there is feedback from hub-feedback :)

@jakirkham
Copy link
Contributor

I lifted that from ( moby/moby#8759 (comment) ). I assumed he knew what he meant.

Reading ( distribution/distribution#422 (comment) ), it is clear that this is the main issue, but the other two are part of the solution.

Agreed an official update would be nice.

@onizo
Copy link

onizo commented Oct 16, 2015

+1

@adambiggs
Copy link

+1

1 similar comment
@StudioEtrange
Copy link

+1

@docker docker unlocked this conversation Dec 4, 2015
@nhsiehgit
Copy link

We've just deployed the delete tags feature, thank you all for your patience!

@posita
Copy link

posita commented Dec 4, 2015

Just curious, but what is the default sort order for tags?

UPDATE: Never mind. See #185.

@posita
Copy link

posita commented Dec 4, 2015

@nhsiehgit, is this UI only, or is there a corresponding API?

@nhsiehgit
Copy link

@posita Just UI for now.

@JeremJR
Copy link

JeremJR commented Dec 4, 2015

@nhsiehgit I'm sorry but I don't see the way to do that into https://hub.docker.com/r/foo/bar/tags could you please point me the good path?

@posita
Copy link

posita commented Dec 4, 2015

@JeremJR, it took me a while to find it as well. Try hovering over the right side of the row for the tag you want to delete. A Delete link should appear. When you click it, you should be given a new choice of links to Confirm or Cancel.

It's not a very intuitive interface. 😞 It's also two clicks per delete. With no batch option, and no API, if one has hundreds of tags to delete, it's going to take awhile. I guess it's better than nothing though. 😣

@ruffsl
Copy link

ruffsl commented Dec 4, 2015

I saw the blue text "Delete" last night when I check the deploy, but you seem to be right in that it appears to be oddly hidden currently:
anim
I like the redundance of the two clicks per delete to prevent accidental clicks, but I agree a batch select and an API would be nice.

@posita
Copy link

posita commented Dec 4, 2015

@ruffsl, I just noticed the same thing. Filed as #498.

@jakirkham
Copy link
Contributor

Looks like there is now a cool trash icon. 👍

@ricoli
Copy link

ricoli commented Feb 5, 2016

so what about the ability to delete a tag using the API @nhsiehgit, is it being worked on?

@nhsiehgit
Copy link

hey @ricoli,

There's a lot of changes coming up this year, and a publicly available api library is one of them on the list. Unfortunately I can't say that this (in particular delete tags) will be arriving anytime within the next few months, but you should start seeing other endpoints coming up.

@jakirkham
Copy link
Contributor

@nhsiehgit, is there a roadmap for the features that are coming up? If it could be shared publicly, it would be nice if it could be added to this repo. I think it would help a lot of us in our planning to know what things to expect when. Also, if there are changes to the schedule, it would help us track and understand a bit more why something gets planned later.

@vassilvk
Copy link

vassilvk commented Feb 7, 2016

@nhsiehgit, I second @jakirkham's post.

@posita
Copy link

posita commented Mar 3, 2016

@nhsiehgit wrote:

... There's a lot of changes coming up this year, and a publicly available api library is one of them on the list. ...

@nhsiehgit, can you reference any open issues (if they exist)? If not, is there a publicly visible road map, where we can track progress?

@jakirkham
Copy link
Contributor

As it seems there are a few people interested in having a roadmap beyond myself, I have made it a formal issue ( #601 ) feel free to subscribe, +1, or add any other relevant details that I may have missed.

@lindsaymacvean
Copy link

So is there a separate issue/request for an api call to remove tags from a dockerhub image repo?

@VincenzoFerme
Copy link

@schasse
Copy link

schasse commented Jun 14, 2017

+1

1 similar comment
@sbrunner
Copy link

sbrunner commented Oct 4, 2017

+1

@lindsaymacvean
Copy link

@VincenzoFerme thanks.

For other people reading this, its the npm package https://www.npmjs.com/package/docker-hub-api which has a ready made js object for interacting with the docker hub api.

@amcp
Copy link

amcp commented Aug 8, 2018

+1

@ballerburg9005
Copy link

Is this still not possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests