Skip to content

Commit 8b1eb2d

Browse files
authored
Merge pull request #5296 from tstromberg/driver-docs3
Add driver usage
2 parents e974ce3 + cd0d174 commit 8b1eb2d

File tree

6 files changed

+35
-5
lines changed

6 files changed

+35
-5
lines changed

site/content/en/docs/Reference/Drivers/includes/hyperkit_usage.inc

+15-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,18 @@ You must also download and install the latest minikube driver:
2121
```shell
2222
curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-hyperkit \
2323
&& sudo install -o root -m 4755 docker-machine-driver-hyperkit /usr/local/bin/
24-
```
24+
```
25+
26+
## Usage
27+
28+
Start a cluster using the hyperkit driver:
29+
30+
```shell
31+
minikube start --vm-driver=hyperkit
32+
```
33+
34+
To make hyperkit the default driver:
35+
36+
```shell
37+
minikube config set vm-driver hyperkit
38+
```

site/content/en/docs/Reference/Drivers/includes/hyperv_usage.inc

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Set the switch you created as the minikube default:
4141
minikube config set hyperv-virtual-switch ExternalSwitch
4242
```
4343

44-
4544
```shell
4645
minikube start --vm-driver=hyperv
4746
```

site/content/en/docs/Reference/Drivers/includes/kvm2_usage.inc

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ virt-host-validate
3030

3131
## Usage
3232

33-
To explicitly start minikube with KVM:
33+
Start a cluster using the kvm2 driver:
3434

3535
```shell
3636
minikube start --vm-driver=kvm2
3737
```
38-
To make KVM the default driver:
38+
To make kvm2 the default driver:
3939

4040
```shell
4141
minikube config set vm-driver kvm2

site/content/en/docs/Reference/Drivers/includes/none_usage.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The none driver requires minikube to be run as root, until [#3760](https://githu
1010
sudo minikube start --vm-driver=none
1111
```
1212

13-
To make none the default for future invocations, run:
13+
To make `none` the default driver:
1414

1515
```shell
1616
sudo minikube config set vm-driver none

site/content/en/docs/Reference/Drivers/includes/parallels_usage.inc

+15
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,18 @@ r=https://api.github.com/repos/Parallels/docker-machine-parallels
1717
curl -LO $(curl -s $r/releases/latest | grep -o 'http.*parallels' | head -n1) \
1818
&& install docker-machine-driver-parallels /usr/local/bin/
1919
```
20+
21+
22+
## Usage
23+
24+
Start a cluster using the parallels driver:
25+
26+
```shell
27+
minikube start --vm-driver=parallels
28+
```
29+
30+
To make parallels the default driver:
31+
32+
```shell
33+
minikube config set vm-driver parallels
34+
```

site/content/en/docs/Reference/Drivers/includes/vmware_macos_usage.inc

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ curl -LO $(curl -s $r/releases/latest | grep -o 'http.*darwin_amd64' | head -n1)
2121

2222
## Usage
2323

24+
Start a cluster using the vmware driver:
25+
2426
```shell
2527
minikube start --vm-driver=vmware
2628
```

0 commit comments

Comments
 (0)