-
Notifications
You must be signed in to change notification settings - Fork 275
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
sudo: garden: command not found #907
Comments
Hey @marcus-sa. I believe the issue is not that Garden can't be run as sudo, but rather that I'm curious though, why do you need to run Garden with sudo? |
@edvald hey you're probably right. This happens because
Isn't supported with no driver's specified, even though it uses docker as the container. See these issues: As you can see in the first issue, arguments passed after minikube actually isn't needed when there's no vm driver. |
Ah, interesting. I guess we'd need to explicitly catch that error message or otherwise check which VM driver is in use. Should be easy to do, I'll flag it for our next update. |
Fixed with #910 (assuming the original problem with sudo was a none-issue). |
cd to where you have Garden installed, and run chmod +x garden |
Bug
Current Behavior
Unable to run
garden get status
as instructed in your Quick Start guide due to you not supporting sudo:$ sudo garden get status sudo: garden: command not found
sudo is required when using minikube with no drivers kubernetes/minikube#3760
Expected behavior
Being able to run
garden
as sudo user.Environment
garden version
: 0.10.0The text was updated successfully, but these errors were encountered: