Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Delete repository with v2 REST API? (when images, tags are removed and even GC has run) #1108

@davvdg

Description

@davvdg

Hi.
I've been through all the previous post about deleting images and tags using the v2 api. (#1066 , #1068 ).
I'm able to delete the latest tag using the v2 rest API, run the garbage colector, restart my registry and repush the same image without having the "layer exists" message. Everything is fine. except...

I cannot remove the repository name, the one which is deplayed when running
v2/_catalog
Even if the images are empty with no tags and no files remaining, the name is still in the list and I don't know how to remove it. So I'm stuck with "ghost" repositories that I'd like to be removed for good. Is there an hidden REST command to do it ?

Best regards

David

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions