support tag delete via http request #933
support tag delete via http request #933ChenLingPeng wants to merge 5 commits intodistribution:masterfrom
Conversation
|
@ChenLingPeng gofmt chekcs that a code format fits to the code style. |
|
Thanks @noxiouz . Now it works! |
…localhost:5000/v2/library/helloworld/tag/v1' Signed-off-by: forrestchen <forrestchen@tencent.com>
Signed-off-by: forrestchen <forrestchen@tencent.com>
Signed-off-by: forrestchen <forrestchen@tencent.com>
|
From the specification:
Because manifests have embedded the name and tag, deletions can only be done at the manifest level and only by digest. This is because, under concurrent load, the correct manifest to delete cannot be ascertained with certainty. The correct solution is to separate the tag from the manifest. Please see #173 for a more complete proposal that would make tag deletion possible. |

like 'curl -v -X "DELETE" http:///v2/library/helloworld/tag/v1'
it will delete tag library/helloworld:v1