Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to restart Docker Desktop after shutting down WSL?

I installed Docker Desktop for Win10 Home. Everything went fine and I was able to start up minikube. Later I decided to stop Vmmem.exe because I wanted to play a game. Ran the following command:

wsl --shutdown

Now Vmmem.exe has stopped running but how do I restart it?

minikube start gives the following error

* minikube v1.22.0 on Microsoft Windows 10 Home Single Language 10.0.19041 Build 19041
* Using the docker driver based on existing profile

X Exiting due to PROVIDER_DOCKER_VERSION_EXIT_1: "docker version --format -" exit status 1: error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version": open //./pipe/docker_engine: The system cannot find the file specified.
* Documentation: https://minikube.sigs.k8s.io/docs/drivers/docker/

wsl -l -v gives following

  NAME                   STATE           VERSION
* Ubuntu-20.04           Stopped         2
  docker-desktop-data    Stopped         2
  docker-desktop         Stopped         2

What am I missing here? Any help is much appreciated

like image 353
HelloWorld Avatar asked Dec 14 '25 06:12

HelloWorld


1 Answers

  1. Open Docker Desktop
  2. Click 'Troubleshooting' icon in top bar (between settings and sign in)
  3. Click 'Restart' (first option)

Now docker is restarted and you'll have it enabled in your wsl

like image 177
Kiryl Stasevich Avatar answered Dec 16 '25 11:12

Kiryl Stasevich



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!