virtualbox
Overview
VirtualBox is minikube’s original driver. It may not provide the fastest start-up time, but it is the most stable driver available for users of Microsoft Windows Home.
Requirements
- VirtualBox 5.2 or higher
Usage
Start a cluster using the virtualbox driver:
minikube start --driver=virtualbox
To make virtualbox the default driver:
minikube config set driver virtualbox
Special features
minikube start supports some VirtualBox specific flags:
--host-only-cidr
: The CIDR to be used for the minikube VM (default “192.168.59.1/24”)- On Linux, Mac OS X and Oracle Solaris with VirtualBox >= 6.1.28, only IP addresses in the 192.168.56.0/21 range are allowed for host-only networking by default. Passing a disallowed value to
--host-only-cidr
will result in a VirtualBox access denied error:VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
.
- On Linux, Mac OS X and Oracle Solaris with VirtualBox >= 6.1.28, only IP addresses in the 192.168.56.0/21 range are allowed for host-only networking by default. Passing a disallowed value to
--no-vtx-check
: Disable checking for the availability of hardware virtualization
Issues
Troubleshooting
- Run
minikube start --alsologtostderr -v=7
to debug crashes
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified June 10, 2022: Fix typo in the documentation of virtualbox CIDR (ee65efc89)