-
Notifications
You must be signed in to change notification settings - Fork 5k
"cache add" command: improve error message for not existing image. #9217
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
Comments
I can try to help with that |
Hey @medyagh what about something like that: Before: PS C:\Users\jenkins> minikube cache add doesnt_exist_thing:haha
E0910 18:30:13.540553 3980 cache.go:63] save image to file "doesnt_exist_thing:haha" -> "C:\\Users\\jenkins\\.minikube\\cache\\images\\doesnt_exist_thing_haha" failed: nil image for doesnt_exist_thing:haha: GET https://index.docker.io/v2/library/doesnt_exist_thing/manifests/haha: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:library/doesnt_exist_thing Type:repository]]
X Exiting due to MK_CACHE_LOAD: save to dir: caching images: caching image "C:\\Users\\jenkins\\.minikube\\cache\\images\\doesnt_exist_thing_haha": nil image for doesnt_exist_thing:haha: GET https://index.docker.io/v2/library/doesnt_exist_thing/manifests/haha: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:library/doesnt_exist_thing Type:repository]]
*
* If the above advice does not help, please let us know:
- https://github.com/kubernetes/minikube/issues/new/choose After: ❯ ./out/minikube cache add doesnt_exist_thing:haha
E0922 15:42:36.984485 75391 cache.go:63] save image to file "doesnt_exist_thing:haha" -> "/Users/i356129/.minikube/cache/images/doesnt_exist_thing_haha" failed:
The image you're trying to add to the cache doesn't exist locally on your machine: try to build or to pull it first.
❌ Exiting due to MK_CACHE_LOAD: save to dir: caching images: caching image "/Users/i356129/.minikube/cache/images/doesnt_exist_thing_haha": nil image for doesnt_exist_thing:haha: GET https://index.docker.io/v2/library/doesnt_exist_thing/manifests/haha: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:library/doesnt_exist_thing Type:repository]]
😿 If the above advice does not help, please let us know:
👉 https://github.com/kubernetes/minikube/issues/new/choose |
@Evalle - sounds good to me. |
@Evalle I have not heared from you, are u still doing this ? |
@medyagh do you mind if assigned myself and tried it? |
@tripolkaandrey feel free to work on it! |
@Evalle okay. Thank you for assigning me |
Thanks for taking the issue @tripolkaandrey! |
@spowelljr I am glad to help |
The text was updated successfully, but these errors were encountered: