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

Deleting repositories #145

Open
UnAfraid opened this issue Mar 5, 2018 · 2 comments
Open

Deleting repositories #145

UnAfraid opened this issue Mar 5, 2018 · 2 comments
Assignees
Milestone

Comments

@UnAfraid
Copy link

UnAfraid commented Mar 5, 2018

Hello,

I've started using your registry manager and i love it, i am just missing the option to delete a repository, removing tags works fine for me, but now i end up having empty repositories and i would like to get rid of them as well.

I can take care of the back-end but i am struggling with front-end a lot :D

@snagles snagles self-assigned this Mar 6, 2018
@snagles snagles added this to the v3.0.2 milestone Mar 6, 2018
@snagles
Copy link
Owner

snagles commented Mar 12, 2018

Hi,

After looking into this further I expect you just need to run garbage collection on your registry to delete the repositories that have no tags. I'm going to add a delete repository button with a note mentioning this as well. The registry doesn't really "delete" anything via the API until you run garbage collection. There is a proposal to run garbage collection via the API, but as of now I haven't seen any updates on that front.

See: https://github.com/docker/docker.github.io/blob/master/registry/garbage-collection.md

@Jean-Baptiste-Lasselle
Copy link

Jean-Baptiste-Lasselle commented May 30, 2019

HI @UnAfraid , If you're still interested in the issue, I have provided a solution that works here : #181
Just arrow-base mention me in case you're in need of more explanations

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

No branches or pull requests

3 participants