-
Notifications
You must be signed in to change notification settings - Fork 601
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
Bug: k8sgpt generate in docker container fails to open browser except linux #182
Comments
Typically, I'd anticipate you mount the secret into the docker container rather than trying to generate it inside e.g.
However you are right it's a bug, but perhaps we just hide the error message if |
Shouldn't we add a small note in the documentation? |
We could add this as a sub section on the docs site under installation |
Thank you. |
Thank you for raising this 🙂 |
@AlexsJones i am using this docker compose file so with this the authentication is getting done. Can you please tell now how can I run the analyze command as well with this compose file |
Checklist:
Steps to reproduce
Command:
docker run -v ~/.kube/config:/home/nonroot/.kube/config -v ~/.minikube:/Users/vinay/.minikube/ k8sgpt generate
Output:
Your environment
Darwin / MacOS
k8sgpt version dev
Expected behaviour
Default browser should open the given URL.
Actual behaviour
Errors out:
xdg-open command not found
sinceruntime.GOOS
is alwayslinux
as it is running inside container.The text was updated successfully, but these errors were encountered: