- Published on
Kubernetes v1.22.5 - Troubleshooting with Docker Desktop 4.7.1
- Authors
- Name
- Syed Muhammad Ali Haidry
- @AliHaidry5

Just in-case if anyone, is stuck after updating to Docker Desktop 4.7.1, local Kubernetes (v1.22.5) might not work.
- Reset Docker Desktop To Factory Defaults Right-click the docker icon on the system tray, then choose to troubleshoot, then click the Reset to factory defaults button.

- Close Docker Desktop After the reset to factory default is done. Quit Docker Desktop
- Delete the
.kube
folder It is located on C:\Users<user name>.kube
Make a backup for it if you want to.
- Delete the pki folder

It is located on C:\Users<user name>\AppData\Local\Docker\pki
Make a backup for it if you want to.
- Add some entries in your hosts file
- 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

- Run Docker Desktop As Administrator

You’re done, I was able to run my local Kubernetes cluster
.