-
Notifications
You must be signed in to change notification settings - Fork 2.7k
How can we delete one manifest by tag #1566
Copy link
Copy link
Open
Description
Hi, I'm using docker 1.10.3 and registry 2.3.0. The following steps show an unexpected scenario:
- build a docker image with tag 1, then push
- commit some code and build a docker image with tag 2, then push
- revert the code in step 2 and build a docker image with tag 3, then push. Therefore the digest will be same as step 1 since the image contents are same.
- in order to delete image with tag 1, we have to call the DELETE API /v2//manifests/ by digest which is same as tag 3. As a result, tag 3 will be deleted as well.
How can we handle this scenario? What I could suggest is to add a "delete manifest by tag API".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels