Unable to start Minikube on Windows 10

3,118 views
Skip to first unread message

Madhu R

unread,
Jul 6, 2017, 7:48:53 AM7/6/17
to kubernet...@googlegroups.com
Hello,

I'm unable to start Minikube on Windows 10. Minikube version 0.20.0, could someone please help me what am I doing wrong here? Thanks so much.

λ kubectl version
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.0", GitCommit:"d3ada0119e776222f11ec7945e6d860061339aad", GitTreeState:"clean", BuildDate:"2017-06-29T23:15:59Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"windows/amd64"}
Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.

Keep getting this error when starting minikube,


```
λ minikube start
Starting local Kubernetes v1.6.4 cluster...
Starting VM...
E0706 17:05:25.904033   12356 start.go:127] Error starting host: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: Error loading host from store: open C:\Users\<profilename>\.minikube\machines\minikube\config.json: The system cannot find the file specified..
 Retrying.
E0706 17:05:25.906033   12356 start.go:133] Error starting host:  Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: Error loading host from store: open C:\Users\<profilename>\.minikube\machines\minikube\config.json: The system cannot find the file specified.
```

tried creating an empty config.json file under C:\Users\<profilename>\.minikube\machines\minikube\config.json, but get a different error this time


```
λ minikube start
Starting local Kubernetes v1.6.4 cluster...
Starting VM...
E0706 17:06:29.414265   13288 start.go:127] Error starting host: Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: Error loading host from store: Error getting migrated host: unexpected end of JSON input.
 Retrying.
E0706 17:06:29.416264   13288 start.go:133] Error starting host:  Error loading existing host. Please try running [minikube delete], then run [minikube start] again.: Error loading host from store: Error getting migrated host: unexpected end of JSON input
```

ivy...@gmail.com

unread,
Dec 29, 2017, 1:47:19 PM12/29/17
to Kubernetes user discussion and Q&A
I, too, ran into this same problem. I was wondering if you found a solution. thanks

Ahmet Alp Balkan

unread,
Dec 29, 2017, 11:13:58 PM12/29/17
to kubernet...@googlegroups.com
It would be better if you open an issue at https://github.com/kubernetes/minikube/issues/new.

I recommend manually deleting the VM (on virtualbox or Hyper-V), deleting ~/.minikube directory and starting over. Minikube probably has some clue so it thinks it has the VM, but cannot connect to it because it doesn’t have config.json (and your empty file simply won’t do it). This is my guess.


--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages