Now that the V1 docker registry is out of date, we launched a private v2 repo without much attention. The problem was that we used a number of v1 APIs to manage tags for deployment.
Currently, we can easily list the tags:
> curl https://repo-dns:5000/username/reponame/tags/list
But removing the tag seems to contain more than the tag, and it seems to fail:
> curl -X DELETE https://repo-dns:5000/v2/username/reponame/manifests/tagtodelete {"errors":[{"code":"UNSUPPORTED","message":"The operation is unsupported."}]}
It is also unclear how to add a new tag - it used something like:
> echo my_image_id |curl -X PUT https:
I looked at the API docs , but its not clear how to do this.
Is it possible to add ADD and REMOVE tags forward, and if so, how?
source share