-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
unauthorized: Your request could not be authenticated by the GitHub Packages service #8124
Comments
This is a bug with the fallback registry, introduced in 7914d05 But there also must have been some issue with the primary ? You can try pulling it manually, maybe get better messages...
|
@dumbdonkey I suspect you are in a restricted network ! replace gcr.io/k8s-minikube/kicbase:v0.0.10 with your country's image repository. |
@dumbdonkey can you please try this?
|
I get:
I think you need to authenticate for all GitHub Packages access, but only need https://help.github.com/en/packages/publishing-and-managing-packages/about-github-packages They got some (deserved) feedback that this was very unclear from the text on the help site...
|
[developer@kubernetestest ~]$ minikube start
1、I use docker login like this: so,what can I do to solve the UNAUTHORIZED problem? thanks a lot. |
we need to add a solution message that if we fall back to github image, the use needs to login "docker login docker.pkg.github.com" I would accept any PR that would fix this by adding a solution message, only if the error is unauthorized |
I was able to get minikube started after referencing locally downloaded image. [krishna@vaikunth ~]$ minikube start --driver=docker --base-image= gcr.io/k8s-minikube/kicbase:v0.0.10
stderr:
stderr:
stderr:
stderr: X error provisioning host: Failed to start host: recreate: creating host: create: creating: create kic node: create container: docker run -d -t --privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined --tmpfs /tmp --tmpfs /run -v /lib/modules:/lib/modules:ro --hostname minikube --name minikube --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=minikube --label role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s.io=minikube --volume minikube:/var --cpus=2 --memory=2200mb -e container=docker --expose 8443 --publish=127.0.0.1::8443 --publish=127.0.0.1::22 --publish=127.0.0.1::2376 --publish=127.0.0.1::5000 : exit status 125 stderr:
stderr:
|
Steps to reproduce the issue:
Full output of failed command:
Full output of
minikube start
command used, if not already included:Optional: Full output of
minikube logs
command:So, how can I login to docker.pkg.github.com? this really confuses me a lot
The text was updated successfully, but these errors were encountered: