Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker desktop - kubernetes failed to start

I have installed Docker Desktop (version : 2.3.0.4) and enabled Kubernetes. I deployed couple of PODS and everything was working fine, Since yesterday I am facing a weird issue mentioned below:

Unable to connect to the server: dial tcp 127.0.0.1:6443: connectex: No 
connection could be made because the target machine actively refused it.

As such, no changes were made on my system. I am using Linux Containers on Windows 10 machine.

Following steps I have tried:

  1. Restarted the Docker Desktop
  2. Tried the same with minikube and Docker Desktop both
  3. Tried to disable the firewall but due to some permissions, I am not able to turn it off.
  4. I have reset the kubernetes cluster as well.

Docker Desktop Error

like image 273
sobby01 Avatar asked Aug 08 '20 07:08

sobby01


1 Answers

I tried numerous different changes to fix docker desktop kubernetes failing to start. What finally worked for me is...

Clicked the troubleshooting icon (it's a bug icon) and then chose Clean/Purge Data.*

like image 115
N-ate Avatar answered Sep 22 '22 21:09

N-ate