2.2 KiB
| title | linkTitle | weight |
|---|---|---|
| Linux | Linux | 1 |
Installation
{{% tabs %}} {{% tab "Direct" %}}
Download and install minikube to /usr/local/bin:
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
&& sudo install minikube-linux-amd64 /usr/local/bin/minikube
{{% /tab %}} {{% tab "Debian/Ubuntu (apt)" %}}
Download and install minikube:
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_{{< latest >}}.deb \
&& dpkg -i minikube_{{< latest >}}.deb
{{% /tab %}}
{{% tab "Fedora/Red Hat (rpm)" %}}
Download and install minikube:
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_{{< latest >}}.rpm \
&& rpm -ivh minikube_{{< latest >}}.rpm
{{% /tab %}} {{% /tabs %}}
Hypervisor Setup
Verify that your system has virtualization support enabled:
egrep -q 'vmx|svm' /proc/cpuinfo && echo yes || echo no
If the above command outputs "no":
- If you are running within a VM, your hypervisor does not allow nested virtualization. You will need to use the None (bare-metal) driver
- If you are running on a physical machine, ensure that your BIOS has hardware virtualization enabled
{{% tabs %}}
{{% tab "VirtualBox" %}} {{% readfile file="/docs/Getting started/_virtualbox.md" %}} {{% /tab %}} {{% tab "KVM" %}}
Prerequisites Installation
{{% readfile file="/docs/Reference/Drivers/_kvm2_prereqs_install.md" %}}
Driver Installation
{{% readfile file="/docs/Reference/Drivers/_kvm2_driver_install.md" %}}
Using the kvm2 driver
minikube start --vm-driver=kvm2
To make kvm2 the default for future invocations, run:
minikube config set vm-driver kvm2
{{% /tab %}} {{% tab "None (bare-metal)" %}}
If you are already running minikube from inside a VM, it is possible to skip the creation of an additional VM layer by using the none driver.
This mode does come with additional requirements:
- docker
- systemd
- sudo access
sudo minikube start --vm-driver=none
Please see the [docs/reference/drivers/none](none driver) documentation for more information. {{% /tab %}} {{% /tabs %}}
{{% readfile file="/docs/Getting started/_post_install.md" %}}