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

Use minikube on my ubuntu vm on virtualbox #3685

Closed
akmabrouk opened this issue Feb 15, 2019 · 7 comments
Closed

Use minikube on my ubuntu vm on virtualbox #3685

akmabrouk opened this issue Feb 15, 2019 · 7 comments
Labels
cause/nested-vm-config When nested VM's appear to play a role kind/support Categorizes issue or PR as a support question. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@akmabrouk
Copy link

Hi
Is it possible to use minikube on ubuntu vm on virtualbox and does this mean I still need to install another virualbox for linux which means 2 virtuabox layers? When it is said: "minikube on linux" do they mean linux installed on a baremetal not a VM? I am kind of confused here.

Your guidance would be much appreciated. Thanks you

@afbjorklund
Copy link
Collaborator

What are you trying to do ? Do you have something else in this ubuntu VM, like a favorite text editor or something like that. Or why don't you install minikube on the host that is running virtualbox ?

There's currently some issues with running nested virtualization, so it is better off avoided if possible. If you prefer to install the VM yourself, you could install kubeadm directly rather than use minikube.

@afbjorklund afbjorklund added the kind/support Categorizes issue or PR as a support question. label Feb 15, 2019
@tstromberg
Copy link
Contributor

When the documentation says minikube on Linux, it assumes bare metal. VirtualBox 6.0 however does have some support for nested VM's. Perhaps you could try it and let us know how it works?

@tstromberg tstromberg added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label Feb 20, 2019
@ihor-sviziev
Copy link

ihor-sviziev commented Feb 20, 2019

Hi,

I have the same issue. I have Win 10 as a host, virtual machine with Ubuntu where right now I have all needed environment for development (IDE) + check outed projects + docker, and All needed servers right now running using docker-compose. I'd like to try move my services to kubernetes, so locally I need minikube.

Is it ok to use vm driver "none" in this case? or it's better to run minikube on win10 and connect to it from 2nd virtual machine?

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 21, 2019
@tstromberg
Copy link
Contributor

tstromberg commented May 23, 2019

In a nutshell, avoid nested VM's when possible. If you can just run minikube directly on your host, it will work much better than running it from inside a VM due to restrictions VM managers have for nesting.

If you must run minikube in a VM, consider using --vm-driver=none. Thanks!

@rnmulchandani
Copy link

Hello Everyone,

I have Windows 10 host. On top of it, I am running Ubuntu 18.04 VM using Hyper-V. I have all my development set up on this Ubuntu 18.04 VM.
I am trying to install Minikube on this Ubutun VM which is running in Hyper-V.
When I run command sudo minikube start --vm-driver=none it gets stuck at downloading stuck at download kubeadm v1.15.3.
Please help me with this. The reason behind running on VM is I have all my development environment set up.

@asoltesz
Copy link

asoltesz commented Sep 3, 2020

@rnmulchandani The Docker driver may be of help for this situation. That runs Minikube in Docker, so it sould work OK in your VM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cause/nested-vm-config When nested VM's appear to play a role kind/support Categorizes issue or PR as a support question. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

8 participants