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

Registry-cli issues with nexus #59

Open
prudhvigodithi opened this issue Nov 30, 2018 · 0 comments
Open

Registry-cli issues with nexus #59

prudhvigodithi opened this issue Nov 30, 2018 · 0 comments

Comments

@prudhvigodithi
Copy link

prudhvigodithi commented Nov 30, 2018

Hey I have been using docker registry provided by nexus, to clean up images using this registry-cli, works for listing the images with tags with layers but coming to delete the image with layers or using --delete-all flag, gives me an error like "Try adding flag --digest-method=GET" "tag digest not found: 404." Though i have added the tag --digest-method GET, below I shall attach the command what I am trying to use

docker run --rm anoxis/registry-cli -l : -r http://myregistry:port --digest-method=GET --delete-all --tags-like "customtag" ---->trying to delete all images with all layers that has customtag as tag

when I try to run this i get "Try adding flag --digest-method=GET tag digest not found: 404. ", this error gets only for few tags, whereas I see some tags got deleted and other tags I get this error, not sure why, secondly the deleted tags I cannot view them from nexus UI nor I am not able to pull them which is good and which i what I want, but though few tags where deleted also with layers the storage for nexus does not seems to get reduced, even after I ran compact blob store and docker purge images tasks from nexus UI after running the above command, so I am at a point using this registry-cli which deletes few tags but does not reclaim any space and gets 404 error for other tags, also tried adding other options like ---delete-all, --digest-method DELETE, but gets the same error, any idea, suggestion or fix for this, using nexus Version 3.3.0-01.

output:
docker run --rm anoxis/registry-cli -l user:Pass -r https://myregistey:port --delete-all --tags-like "customtag" --no-validate-ssl --digest-method GET

Try adding flag --digest-method=GET
deleting tag customtag
tag digest not found: 404.

@prudhvigodithi prudhvigodithi changed the title Registry-cli for nexus: Registry-cli issues with nexus Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant