Docker for Windows stuck at “Kubernetes is Starting” Docker for Windows stuck at “Kubernetes is Starting” kubernetes kubernetes

Docker for Windows stuck at “Kubernetes is Starting”


I had the same issue.I resolve it , changing the HOSTS file in Widnows (located at C:\Windows\System32\drivers\etc) and adding

127.0.0.1 kubernetes.docker.internal

( I also disable for this operation firewall and antivirus and set 8.8.8.8 in DNS , in docker desktop setting )


From the error message it seemed to me, that you are not able to connect to the kubernetes server.

Check the following:

  1. is the kubernetes server enabled in docker? Check the docker docs
  2. use kubectl to check the state of the kubernetes server, see the docs for usage of the cmdlet here