-
Notifications
You must be signed in to change notification settings - Fork 83
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
Can not push/analyze images with tag #110
Comments
Hello, thanks for reporting this. There is a known bug (cannot remember which issue is already opened for this) in the URL parsing. I meant to work on this but I've had no time at all. |
Hello, is there any update on this issue? From my limited understanding of the issue the problem seems to be in: clairctl/docker/dockercli/dockercli.go Lines 74 to 75 in f7d6e75
It should save the image like this: I also tried to use the full name of the image, but this does not fix the issue: |
Can you try with this branch? https://github.com/jgsqware/clairctl/tree/fix-temp-path |
You remove the dots which should still be there and you append the tag which is not needed. Image is saved in I edited your tempImagePath: https://github.com/glookie1/clairctl/tree/fix-temp-path This is tested with the ubuntu:14.04 image and works now. |
Hi @jgsqware I encounter the same issue from master branch. |
@jgsqware @jzelinskie
I can not push local images with tag, even the tag is latest.
We can see that dockercli save image to the path /tmp/clairctl/registry/blobs
While from the clairctl logs, we can see that it will check path docker.io/library/registry/blobs
If i push image without tag, it will push successfully.
If i push image with gcr.io and with tag, such as gcr.io/google-containers/etcd-amd64:3.0.17 , it also push successfully.
I found that push image with tag, the path will be http://172.18.0.4:34694/local/docker.io/library/redis/blobs/*******
While push image without tag, the path will be http://172.18.0.4:39827/local//redis/blobs/******
Could you please help to explain the logical and how to fix this issue?
The text was updated successfully, but these errors were encountered: