Access to minikube from external adress

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version:
Cloud being used: using my personal computer with KVM
Installation method: brew install minikube
Host OS: Centos 7.7
CNI and version: 0.4.0
CRI and version: not enabled

I’m running minikube on guest of my machine running on kvm.
but i can only access to service using ‘localhost’ or ‘’, so only via localhost ip or name.

i can’t access using guest ip adresse, i can also access using minikube ip:
Kubernetes master is running at
KubeDNS is running at

i can’t find any way to access using guest ip.


i tried to force kube ip address via .kube/config.
But it was overriden by minikube process when restarting

! Unable to restart cluster, will reset it: getting k8s client: client config: client config: error loading config file “/home/mini/.kube/config”: yaml: line 6: mapping values are not allowed in this context
X startup failed: Failed to update kubeconfig file.: could not read config: Error decoding config from data: apiVersion: v1

  • cluster:
    certificate-authority: /home/mini/.minikube/ca.crt
    name: minikube
  • context:
    cluster: minikube
    user: minikube
    name: minikube
    current-context: minikube
    kind: Config
    preferences: {}
  • name: minikube
    client-certificate: /home/mini/.minikube/profiles/minikube/client.crt
    client-key: /home/mini/.minikube/profiles/minikube/client.key
    : yaml: line 6: mapping values are not allowed in this context

driver= docker