-
Notifications
You must be signed in to change notification settings - Fork 615
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
Delete tags with API v2 (fixes #106) #167
base: v2
Are you sure you want to change the base?
Conversation
any chance to get this merged? 😄 |
Travis tells us that NPM does not want us to have nice things... :-( Good effort though @xgin 👍 ! We probably need to wait until somebody can help out and fix the NPM dependencies before this can be merged... |
Travis is waiting for #162 to be merged. |
#162 has just been merged. How can we force a travis rebuild through the github UI? Oh, actually, we'd need to rebase first. |
it is now ready to be merged :) Can it be done ? This is a very awaited feature ! |
Why it isn't merged yet? Lot of people is waiting for this merge =) |
Still no progress? |
Is it still in process ? |
Guys, are we blocking on review for this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very important feature! PR looks good 👍
hoping to see this soon |
Why not merged yet? :( |
Use API v2 to delete tags.
In particular GET /manifest by tag to obtain the correct digest to delete and then DELETE /blob by the digest. The sequence is described here: https://docs.docker.com/registry/spec/api/#deleting-an-image
Note that the API does not remove the image from file system, you have to execute garbage-collector, e.g. with crontab
I did not find how to delete repository, because the API DELETE /repository does not work.
Issue for reference #106