<p><strong><em>Update</em></strong>
The issue is resolved. </p>

<ol>
<li>I shutdown docker desktop.</li>
<li>Deleted C:\ProgramData\DockerDesktop and .kube folder</li>
<li>Restarted docker desktop</li>
<li>reset docker desktop to factory defaults</li>
<li>and restarted it again and it worked.</li>
</ol>

<p>I have started learning Kubernetes and Dockers yesterday. I installed Docker-Desktop today and my docker container is running. When i check the enable kubernetes option on Docker-Desktop it's not running. It just shows me a loading and below it just shows kubernete starting.<br>
<a href="https://i.stack.imgur.com/eJcyo.png" rel="nofollow noreferrer">Photo of my Docker Desktop</a>
<strong>What i have tried:</strong></p>

<ol>
<li>Uninstalling Docker Desktop and reinstalling it</li>
<li>Reset Kubernetes Cluster</li>
<li>Reset to Factory default</li>
</ol>

<p>I have tried other solutions too which i found here on stackflow like:</p>

<ol>
<li>Running it as an Administrator</li>
<li>Run this on powershell and then try to start kubernetes
<code>[Environment]::SetEnvironmentVariable("KUBECONFIG", $HOME + "\.kube\config", [EnvironmentVariableTarget]::Machine)</code></li>
</ol>

<p>But None of the solutions is trying to fix the problem im having.</p>

<p><strong>Addition Information:</strong></p>

<ol>
<li>Im running Docker Desktop on Windows 10 pro</li>
<li>Docker Version: 2.2.0.5 Kubernetes version: v1.15.5</li>
</ol>

<h2>Just follow these steps</h2>
<ol>
<li>stop docker for desktop</li>
<li>remove the folder <code>~/Library/Group\ Containers/group.com.docker/pki</code></li>
</ol>
<pre><code>   rm -rf ~/Library/Group\ Containers/group.com.docker/pki
</code></pre>
<ol start="3">
<li>start docker for destkop</li>
</ol>
<p>Found <a href="https://github.com/docker/for-mac/issues/3594#issuecomment-621487150" rel="nofollow noreferrer">the solution here</a></p>
<p>And given that every time I try to start &quot;Docker for Desktop&quot; Kubernetes get stuck, to better investigate for me was useful remove the kube autostart from the configuration.</p>
<p>Just edit the file:</p>
<pre><code>~/Library/Group\ Containers/group.com.docker/settings.json
</code></pre>
<p>And change <code>kubernetesEnabled</code> value to <code>false</code></p>
