When starting up minikube with hyperkit driver on MacOS, is there a way to specify the ip address prefix used by the minikube VM? The default ip address of minikube hyperkit VM is 192.168.64.0/24. This address range conflicts with the office ip address and I would like to change it. However, I did not find documentation on how to config that.
how to change minikube VM ip address with hyperkit driver
854 views Asked by Charles Ju At
1
It can't be done with a command or edit the config file.
These IPs are distributed by the vmnet service in the MacOS operating system and are in the file
com.apple.vmnet.plist. Editing it doesn't change anything. Editing/var/db/dhcpd_leasedoes not change the IP either. You can read more about this problem on official Minikube site: