Skip to content

Commit 02165b5

Browse files
author
Thomas Lambert
authored
add note on --vm=true for mac users (#67)
* add note on --vm=true for mac users
1 parent 843e542 commit 02165b5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Diff for: README.md

+20
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,26 @@ $ kubectl config current-context
7272
minikube
7373
```
7474

75+
**Note:** the ingress addon is currently not supported on docker for Mac (see https://github.com/kubernetes/minikube/issues/7332).
76+
As a workaround, you have to deploy minikube as a VM and not as a container (using Virtualbox or Hyperkit for example)
77+
78+
```sh
79+
$ minikube start --vm=true --vm-driver=virtualbox
80+
[...]
81+
✨ Using the virtualbox driver based on user configuration
82+
🔥 Creating virtualbox VM ...
83+
```
84+
85+
If you did launch minikube already, the `--vm` flag may be ignored as minikube caches the previous config. If so you may want to delete and relaunch minikube (warning: it will delete your whole minikube setup)
86+
87+
```sh
88+
$ minikube stop && minikube delete && minikube start --vm=true --vm-driver=virtualbox
89+
[...]
90+
💀 Removed all traces of the "minikube" cluster.
91+
✨ Using the virtualbox driver based on user configuration
92+
🔥 Creating virtualbox VM ...
93+
```
94+
7595
### (Optional) If you feel adventurous, only for macOS
7696

7797
You can try another lighter virtual machine layer than Virtualbox

0 commit comments

Comments
 (0)