Merge pull request #5296 from tstromberg/driver-docs3

Add driver usage
pull/5303/head
Thomas Strömberg 2019-09-09 06:19:54 -07:00 committed by GitHub
commit 8b1eb2ddc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 35 additions and 5 deletions

View File

@ -21,4 +21,18 @@ You must also download and install the latest minikube driver:
```shell
curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-hyperkit \
&& sudo install -o root -m 4755 docker-machine-driver-hyperkit /usr/local/bin/
```
```
## Usage
Start a cluster using the hyperkit driver:
```shell
minikube start --vm-driver=hyperkit
```
To make hyperkit the default driver:
```shell
minikube config set vm-driver hyperkit
```

View File

@ -41,7 +41,6 @@ Set the switch you created as the minikube default:
minikube config set hyperv-virtual-switch ExternalSwitch
```
```shell
minikube start --vm-driver=hyperv
```

View File

@ -30,12 +30,12 @@ virt-host-validate
## Usage
To explicitly start minikube with KVM:
Start a cluster using the kvm2 driver:
```shell
minikube start --vm-driver=kvm2
```
To make KVM the default driver:
To make kvm2 the default driver:
```shell
minikube config set vm-driver kvm2

View File

@ -10,7 +10,7 @@ The none driver requires minikube to be run as root, until [#3760](https://githu
sudo minikube start --vm-driver=none
```
To make none the default for future invocations, run:
To make `none` the default driver:
```shell
sudo minikube config set vm-driver none

View File

@ -17,3 +17,18 @@ r=https://api.github.com/repos/Parallels/docker-machine-parallels
curl -LO $(curl -s $r/releases/latest | grep -o 'http.*parallels' | head -n1) \
&& install docker-machine-driver-parallels /usr/local/bin/
```
## Usage
Start a cluster using the parallels driver:
```shell
minikube start --vm-driver=parallels
```
To make parallels the default driver:
```shell
minikube config set vm-driver parallels
```

View File

@ -21,6 +21,8 @@ curl -LO $(curl -s $r/releases/latest | grep -o 'http.*darwin_amd64' | head -n1)
## Usage
Start a cluster using the vmware driver:
```shell
minikube start --vm-driver=vmware
```