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 0.26.0 - config set vm-driver none error #2727

Closed
BenHall opened this issue Apr 16, 2018 · 5 comments
Closed

Minikube 0.26.0 - config set vm-driver none error #2727

BenHall opened this issue Apr 16, 2018 · 5 comments

Comments

@BenHall
Copy link

BenHall commented Apr 16, 2018

$ minikube config set vm-driver none
[Driver none is not supported]

This worked within 0.26.0 and minikube start --vm-driver=none is accepted.

@BenHall
Copy link
Author

BenHall commented Apr 16, 2018

I believe it's because "None" is missing from the constants.

// SupportedVMDrivers is a list of supported drivers on all platforms. Currently
// used in gendocs.
var SupportedVMDrivers = [...]string{
"virtualbox",
"vmwarefusion",
"kvm",
"xhyve",
"hyperv",
}

@afbjorklund
Copy link
Collaborator

Curiosly, it only says "used in gendocs" ?

@BenHall
Copy link
Author

BenHall commented Apr 16, 2018

Back tracking it a little and how I go there.

func IsValidDriver(string, driver string) error {
for _, d := range constants.SupportedVMDrivers {
if driver == d {
return nil
}
}
return fmt.Errorf("Driver %s is not supported", driver)
}

validations: []setFn{IsValidDriver},

@afbjorklund
Copy link
Collaborator

Just saying - that comment is wrong...

@pauldamian
Copy link

pauldamian commented Jun 22, 2018

Hey guys,
I've just installed minikube v.0.28 on Windows and I want to use it with Docker, so I've started it using vm-driver none, but it keeps failing, saying that it is not supported:

C:\Users\Paul>minikube version
minikube version: v0.28.0

C:\Users\Paul>minikube start --vm-driver=none
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
F0622 15:02:14.986424    3140 cluster.go:212] Unsupported driver: none

Is there some configuration that I overlooked?

Later edit:
I see that this feature is only available for Linux boxes. I hoped I can skip the VirtualBox steps.
Maybe you could specify it more clearly in the installation documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants