DEV Community

codemee
codemee

Posted on • Updated on

WSL suddenly got down.

I've run into troubles with WSL in 2 cases:

Docker for Windows

Installing the Windows version of Docker Desktop today found that I can't run WSL.Running WSL just get

process exited with code 1
Enter fullscreen mode Exit fullscreen mode

Finally I found that the problem is the fish shell I used as default shell was removed in unknown reason, so WSL cannnot open the shell. To solve that, just run

wsl -e /bin/bash
Enter fullscreen mode Exit fullscreen mode

then reinstall the fish shell in the bash shell.Done.

Networking problem

The network seems to corrupt, running WSL get

process exited with code 4294967295
Enter fullscreen mode Exit fullscreen mode

It's solved by runing the following command as administrator:

netsh winsock reset
Enter fullscreen mode Exit fullscreen mode

Latest comments (0)