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

Can't start minkube: VirtualBox is not installed on the machine #9

Open
4 tasks
zelima opened this issue Nov 13, 2019 · 1 comment
Open
4 tasks

Can't start minkube: VirtualBox is not installed on the machine #9

zelima opened this issue Nov 13, 2019 · 1 comment

Comments

@zelima
Copy link
Contributor

zelima commented Nov 13, 2019

As a developer whothout any experience with minikube, I want to know what I need to have installed (and maybe how), so that I can start it easiely.

Acceptance Criteria

  • Able to start minkube following instructions from README
  • Do not have to google around to start minkube server

Tasks

  • Do analysis
  • Update README with instuctions if neccessary

Analysis

As a developer I encountered the following error after installed Minkube and trying to start it as suggestetd in README

minikube start --kubernetes-version "${KUBERNETES_VERSION}"
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
E1105 15:27:46.230633   25830 start.go:187] Error starting host: Error creating host: Error executing step: Running precreate checks.
: VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path.

 Retrying.
E1105 15:27:46.231159   25830 start.go:193] Error starting host:  Error creating host: Error executing step: Running precreate checks.
: VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path
================================================================================
An error has occurred. Would you like to opt in to sending anonymized crash
information to minikube to help prevent future errors?
To opt out of these messages, run the command:
	minikube config set WantReportErrorPrompt false
================================================================================

I had to do following to make it running

  • Install virtualbox
  • Include --vm-driver flag when starting minkube

Install virtualbox

This tutorial hellped https://websiteforstudents.com/installing-virtualbox-5-2-ubuntu-17-04-17-10/

sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove
sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list'
sudo apt-get update
sudo apt-get install virtualbox-5.2

Run with --vm-driver=

minikube start --kubernetes-version "${KUBERNETES_VERSION}" --vm-driver=virtualbox
@akariv
Copy link
Contributor

akariv commented Nov 13, 2019 via email

@zelima zelima changed the title Can't start minkube: VirtualBox is not installed on the machinve Can't start minkube: VirtualBox is not installed on the machine Nov 18, 2019
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

2 participants