<p>So after updating to Docker Desktop 4.7.1, local kubernetes (v1.22.5) now is stuck at starting.</p>
<p><a href="https://i.stack.imgur.com/LAkxm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LAkxm.png" alt="enter image description here" /></a></p>
<p>Uninstalled and re-installed latest Docker Desktop (4.7.1) but after restart, issue persists.</p>
<p>Running <code>kubectl get all -n kube-system</code></p>
<p>Returns <code>Unable to connect to the server: EOF</code></p>
<p>So clearly kubernetes isn't running.</p>
<p>Any help is appreciated, thanks.</p>
<p>P.S. I am contemplating now on going back to Docker Desktop 4.6.x if I can't resolve this, but I do wish to be on latest Docker Desktop if possible.</p>
<p>I am on Windows 10</p>

Jplus2
<p>Ok after couple of hours of trouble shooting I was able to resolved the issue.</p>
<h3><strong>Step 1: Reset Docker Desktop To Factory Defaults</strong></h3>
<p>Right click docker icon on system tray, then choose <strong>troubleshoot</strong>, then click the <strong>Reset to factory defaults</strong> button.</p>
<p><a href="https://i.stack.imgur.com/iLAwY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iLAwY.png" alt="enter image description here" /></a></p>
<h3><strong>Step 2: Close Docker Desktop</strong></h3>
<h3><strong>Step 3: Delete the .kube folder</strong></h3>
<p>It is located on <code>C:\Users\&lt;user name&gt;\.kube</code></p>
<p>Make a backup for it if you want</p>
<h3><strong>Step 4: Delete the pki folder</strong></h3>
<p>It is located on <code>C:\Users\&lt;user name&gt;\AppData\Local\Docker\pki</code></p>
<p>Make a backup for it if you want</p>
<h3><strong>Step 5: Add some entries in your hosts file</strong></h3>
<pre><code>192.168.1.5 host.docker.internal
192.168.1.5 gateway.docker.internal
127.0.0.1 docker-for-desktop
127.0.0.1 kubernetes.docker.internal
</code></pre>
<h3><strong>Step 6: Run Docker Desktop As Administrator</strong></h3>
<p>That's it, I was able to run local kubernetes cluster again</p>
<p><a href="https://i.stack.imgur.com/zxyxN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zxyxN.png" alt="enter image description here" /></a></p>
