Skip to content
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

minikube start - halt when started as sudo/root #3275

Closed
ch1ago opened this issue Oct 27, 2018 · 1 comment
Closed

minikube start - halt when started as sudo/root #3275

ch1ago opened this issue Oct 27, 2018 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@ch1ago
Copy link

ch1ago commented Oct 27, 2018

FEATURE REQUEST

  • Environment: Any
  • Minikube version: 0.30.0
  • OS (e.g. from /etc/os-release): Linux/MacOS

What happened: Trying to run as sudo/root

What you expected to happen: I expected to see a message telling me to switch to a normal user.

How to reproduce it: sudo su then minikube start

Anything else do we need to know:

Minikube should NOT be run as root, but so many users switch to root so they can run install commands freely.

Please, add a halt very early to minikube start if the user is root. Let's put a nice message there that informs the user to never run minikube as root.

😱 Think of all the people who gave up on the installation process because of this tiny mistake.

@tstromberg
Copy link
Contributor

I agree completely. Closing as a duplicate of #3138

There is a bit of nuance to address, since root is required for the --driver=none mode.

@tstromberg tstromberg added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 29, 2018
@tstromberg tstromberg changed the title minikube start - half when sudo/root minikube start - halt when started as sudo/root Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants