<p>I'm using <strong>Docker Desktop</strong> on windows 10 pro with this docker information <a href="https://i.stack.imgur.com/2FQxL.png" rel="nofollow noreferrer">docker info</a></p>
<p>My docker is just fine and I can use docker commands completely. But when it comes to enabling kubernetes.
I can't enable it. I just go to docker-desktop settings and check the enable Kubernetes button. but it stuck at &quot;Starting ...&quot; situation. This is the picture: <a href="https://i.stack.imgur.com/sVely.png" rel="nofollow noreferrer">Picture</a> I have used so many ways to solve the problem(e.g: turn the firewall off, delete some docker files) but nothing happens. In the log.txt file, in <code>C:\Users\&lt;usr&gt;\AppData\Local\Docker</code> I see the error:</p>
<blockquote>
<p>cannot get lease for master node: Get
&quot;https://kubernetes.docker.internal:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/docker-desktop&quot;:
dial TCP: lookup Kubernetes.docker.internal: no such host</p>
</blockquote>

<p>I had the same issue.
I resolve it , changing the HOSTS file in Widnows (located at C:\Windows\System32\drivers\etc) and adding</p>
<p><strong>127.0.0.1 kubernetes.docker.internal</strong></p>
<p>( I also disable for this operation firewall and antivirus and set 8.8.8.8 in DNS , in docker desktop setting )</p>
