for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Failed to deploy distro docker-desktop

Open ChakritRakuang opened this issue 6 years ago • 79 comments

System.InvalidOperationException: Failed to deploy distro docker-desktop to C:\Users\Chakrit Rakhuang\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: Error: 0xffffffff

stderr: at Docker.Core.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Core\WslCommand.cs:line 119 at Docker.Engines.WSL2.WSL2Provisioning.d__17.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 169 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.Engines.WSL2.WSL2Provisioning.d__8.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 78 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.Engines.WSL2.LinuxWSL2Engine.d__24.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\LinuxWSL2Engine.cs:line 94 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.ApiServices.StateMachines.TaskExtensions.d__0.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\TaskExtensions.cs:line 29 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.ApiServices.StateMachines.StartTransition.d__5.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 67 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Docker.ApiServices.StateMachines.StartTransition.d__5.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 92

ChakritRakuang avatar Aug 24 '20 08:08 ChakritRakuang

Version: 2.3.0.4 (46911) Channel: stable Sha1: d4f5fcf98140180eeef00e02c1c8bb0ad69e35d3 Started on: 2020/08/24 15:53:13.437 Resources: C:\Program Files\Docker\Docker\resources OS: Windows 10 Enterprise Edition: Enterprise Id: 2004 Build: 19041 BuildLabName: 19041.1.amd64fre.vb_release.191206-1406 File: C:\Users\Chakrit Rakhuang\AppData\Local\Docker\log.txt CommandLine: "C:\Program Files\Docker\Docker\Docker Desktop.exe" You can send feedback, including this log file, at https://github.com/docker/for-win/issues [15:53:13.704][GUI ][Info ] Starting... [15:53:13.773][ComponentVersions ][Info ] Edition community [15:53:13.775][ComponentVersions ][Info ] Edition community [15:53:14.823][AppMigrator ][Info ] Current version: 6. Latest version: 6 [15:53:14.884][TrackingSettings ][Info ] Crash report and usage statistics are enabled [15:53:14.888][SegmentApi ][Info ] Usage statistic: Identify [15:53:15.228][SegmentApi ][Info ] Usage statistic: appLaunched [15:53:16.279][ApplicationTemplatesTracking][Info ] Cannot list templates [15:53:16.279][SegmentApi ][Info ] Usage statistic: eventTemplatesInfo [15:53:16.281][SegmentApi ][Info ] Usage statistic: heartbeat [15:53:16.557][LoggingMessageHandler][Info ] [9a7f340a] GET http://backend/version [15:53:18.111][LoggingMessageHandler][Info ] [9a7f340a] GET http://backend/version -> 200 OK (took 1555ms) [15:53:18.192][LoggingMessageHandler][Info ] [73bcf73e] GET http://backend/hyperv/vhdx-size?path=C:%5CProgramData%5CDockerDesktop%5Cvm-data%5CDockerDesktop.vhdx [15:53:18.684][LoggingMessageHandler][Info ] [73bcf73e] GET http://backend/hyperv/vhdx-size?path=C:%5CProgramData%5CDockerDesktop%5Cvm-data%5CDockerDesktop.vhdx -> 200 OK (took 491ms) [15:53:18.716][LoggingMessageHandler][Info ] [db35d73f] POST http://backend/migrate/app [15:53:18.726][LoggingMessageHandler][Info ] [db35d73f] POST http://backend/migrate/app -> 204 NoContent (took 10ms) [15:53:18.736][Engines ][Debug ] Starting [15:53:18.747][LoggingMessageHandler][Info ] [9e1abc78] POST http://backend/versionpack/enable [15:53:18.969][LoggingMessageHandler][Info ] [9e1abc78] POST http://backend/versionpack/enable -> 204 NoContent (took 218ms) [15:53:19.448][GoBackendProcess ][Info ] Starting C:\Program Files\Docker\Docker\resources\com.docker.backend.exe -addr unix:\.\pipe\dockerBackendApiServer [15:53:19.506][GoBackendProcess ][Info ] Started [15:53:19.582][MutagenProcess ][Info ] Starting C:\ProgramData\Docker\cli-plugins\docker-mutagen.exe mutagen daemon run [15:53:19.607][MutagenProcess ][Info ] Started [15:53:19.664][EngineStateMachine][Debug ] sending state Docker.ApiServices.StateMachines.StartTransition to state change sink [15:53:19.666][EngineStateMachine][Debug ] State Docker.ApiServices.StateMachines.StartTransition sent to state change sink [15:53:19.673][EngineStateListener][Debug ] received state Docker.ApiServices.StateMachines.StartTransition from LinuxWSL2 [15:53:19.679][EngineStateNotificationRecorder][Debug ] Registered state {"State":"starting","Mode":"linux","date":1598259199} [15:53:19.680][SystrayNotifications][Info ] Docker is starting [15:53:19.722][LinuxWSL2Engine ][Info ] Terminating lingering processes and wsl distros and patching host file [15:53:19.732][LoggingMessageHandler][Info ] [01ffbea6] POST http://backend/dns/refresh-hosts [15:53:21.821][MutagenProcess ][Info ] [forwarding] Looking for existing sessions [15:53:21.879][MutagenProcess ][Info ] [forwarding] Session manager initialized [15:53:21.879][MutagenProcess ][Info ] [sync] Looking for existing sessions [15:53:21.879][MutagenProcess ][Info ] [sync] Session manager initialized [15:53:23.895][DockerHub ][Info ] Login successfull [15:53:24.851][LoggingMessageHandler][Info ] [01ffbea6] POST http://backend/dns/refresh-hosts -> 204 NoContent (took 5119ms) [15:53:34.975][LoggingMessageHandler][Info ] [426a008a] GET http://unix/versions [15:53:35.434][LoggingMessageHandler][Info ] [426a008a] GET http://unix/versions -> 200 OK (took 459ms) [15:53:36.397][GoBackendProcess ][Info ] started port-forwarding control server on \\.\pipe\dockerVpnKitControl [15:53:36.487][GoBackendProcess ][Info ] ⇨ http server started on \.\pipe\dockerVpnKitControl [15:53:36.649][GoBackendProcess ][Info ] listening on unix:\\.\pipe\dockerVpnkitData for data connection [15:53:36.719][GoBackendProcess ][Info ] ⇨ http server started on \.\pipe\dockerBackendApiServerForGuest [15:53:36.792][GoBackendProcess ][Info ] enabling filesystem caching [15:53:36.792][GoBackendProcess ][Info ] filesystem exports are: (2) [15:53:36.810][GoBackendProcess ][Info ] volume control server listening on \\.\pipe\dockerVolume [15:53:36.818][GoBackendProcess ][Info ] filesystem server listening on 00000000-0000-0000-0000-000000000000:00001003-facb-11e6-bd58-64006a7986d3 [15:53:36.828][GoBackendProcess ][Info ] file ownership will be determined by the calling user ("fake owner" mode) [15:53:36.828][GoBackendProcess ][Info ] using mfsymlinks [15:53:36.841][GoBackendProcess ][Info ] ⇨ http server started on \.\pipe\dockerBackendApiServer [15:53:41.107][WSL2Provisioning ][Info ] Checking docker-desktop [15:53:49.172][WSL2Provisioning ][Info ] deploying WSL distro docker-desktop to C:\Users\Chakrit Rakhuang\AppData\Local\Docker\wsl\distro [15:53:57.392][WSL2Provisioning ][Error ] Failed to deploy distro docker-desktop to C:\Users\Chakrit Rakhuang\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: Error: 0xffffffff

stderr: [15:53:57.401][LinuxWSL2Engine ][Info ] Stopping windows side processes [15:53:57.641][LinuxWSL2Engine ][Info ] Stopping engine [15:53:57.725][LoggingMessageHandler][Info ] [9c1f0816] POST http://backend/windowsfeatures/check [15:53:59.190][LoggingMessageHandler][Info ] [9c1f0816] POST http://backend/windowsfeatures/check -> 200 OK (took 1456ms) [15:53:59.850][LinuxWSL2Engine ][Info ] Terminating lingering processes and wsl distros and patching host file [15:53:59.850][LoggingMessageHandler][Info ] [f02f33e0] POST http://backend/dns/refresh-hosts [15:53:59.993][LoggingMessageHandler][Info ] [f02f33e0] POST http://backend/dns/refresh-hosts -> 204 NoContent (took 143ms) [15:54:00.001][WSL2Provisioning ][Info ] Checking docker-desktop [15:54:00.001][WSL2Provisioning ][Info ] deploying WSL distro docker-desktop to C:\Users\Chakrit Rakhuang\AppData\Local\Docker\wsl\distro [15:54:02.128][WSL2Provisioning ][Error ] Failed to deploy distro docker-desktop to C:\Users\Chakrit Rakhuang\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: Error: 0xffffffff

stderr: [15:54:02.129][LinuxWSL2Engine ][Info ] Stopping windows side processes [15:54:02.338][LinuxWSL2Engine ][Info ] Stopping engine [15:54:02.525][EngineStateMachine][Debug ] sending state Docker.ApiServices.StateMachines.FailedToStartState to state change sink [15:54:02.525][EngineStateMachine][Debug ] State Docker.ApiServices.StateMachines.FailedToStartState sent to state change sink [15:54:02.525][EngineStateListener][Debug ] received state Docker.ApiServices.StateMachines.FailedToStartState from LinuxWSL2 [15:54:02.526][EngineStateNotificationRecorder][Debug ] Registered state {"State":"failed to start","Mode":"linux","date":1598259242} [15:54:02.527][SystrayNotifications][Error ] Failed to deploy distro docker-desktop to C:\Users\Chakrit Rakhuang\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: Error: 0xffffffff

stderr: [15:54:02.710][GUI ][Info ] Sending Bugsnag report f267437b-2665-465a-8c9a-be373412b960... [15:54:02.882][GUI ][Info ] Bugsnag report f267437b-2665-465a-8c9a-be373412b960 sent [15:54:02.884][SegmentApi ][Info ] Usage statistic: eventCrash [15:54:02.893][Diagnostics ][Warning] Starting to gather diagnostics as User : 'C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe' gather. [15:54:03.010][Engines ][Error ] Start failed with Failed to deploy distro docker-desktop to C:\Users\Chakrit Rakhuang\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: Error: 0xffffffff

stderr: at Docker.Core.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Core\WslCommand.cs:line 119 at Docker.Engines.WSL2.WSL2Provisioning.d__17.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 169 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.Engines.WSL2.WSL2Provisioning.d__8.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 78 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.Engines.WSL2.LinuxWSL2Engine.d__24.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\LinuxWSL2Engine.cs:line 94 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.ApiServices.StateMachines.TaskExtensions.d__0.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\TaskExtensions.cs:line 29 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.ApiServices.StateMachines.StartTransition.d__5.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 67 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Docker.ApiServices.StateMachines.StartTransition.d__5.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 92 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.ApiServices.StateMachines.EngineStateMachine.d__14.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\EngineStateMachine.cs:line 72 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Docker.Engines.Engines.d__24.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\Engines.cs:line 109) [15:54:26.581][GoBackendProcess ][Info ] external: GET /events 200 "Go-http-client/1.1" "
[15:54:26.584][GoBackendProcess ][Info ] external: GET /forwards/list 200 "Go-http-client/1.1" "
[15:54:26.586][GoBackendProcess ][Info ] mutagen sync list --output json [15:54:26.641][GoBackendProcess ][Info ] mutagen C:\ProgramData\Docker\cli-plugins\docker-mutagen.exe mutagen sync list --output json: null\n [15:54:26.642][GoBackendProcess ][Info ] external: GET /sync 200 "Go-http-client/1.1" "
[15:57:26.762][Diagnostics ][Info ] Uploading diagnostics 80E9D45E-88E8-42F8-B0A6-C8328A7251BF/20200824085403 [15:58:09.485][Diagnostics ][Info ] Uploaded succesfully diagnostics 80E9D45E-88E8-42F8-B0A6-C8328A7251BF/20200824085403 [15:59:00.567][ErrorReportWindow ][Info ] Open logs [15:59:00.601][ErrorReportWindow ][Info ] Open logs

ChakritRakuang avatar Aug 24 '20 08:08 ChakritRakuang

80E9D45E-88E8-42F8-B0A6-C8328A7251BF/20200824085403

ChakritRakuang avatar Aug 24 '20 08:08 ChakritRakuang

affect blue screen

ChakritRakuang avatar Aug 24 '20 09:08 ChakritRakuang

I finally got this resolved after following these steps:

(from https://github.com/docker/for-win/issues/7208)

  • Uninstall Docker and WSL 2 kernel.
  • Go to the Control Panel -> Programs -> Turn Windows features on or off
  • Uncheck the following: Containers, Hyper-V, Windows Subsystem for Linux
  • Restart the system
  • Install Docker without the WSL2 enabled/checked in the first screen
  • Go to the Control Panel -> Programs -> Turn Windows features on or off
  • Turn on/check the Windows Subsystem for Linux
  • Restart the system.
  • Do not install the WSL2 Kernel when reinstalling Docker.

I was not able to launch the Ubuntu WSL initially (got the same error messages in the first post), I then ran "wsl --update" and was able to launch the Ubuntu WSL and got Docker started running again.

My system now has wsl kernel 4.19.128 and Build 20201.rs_prerelease.200822-1922, and the default wsl version is now version 2.

Hope this helps. Cheers.

ngd929 avatar Aug 30 '20 05:08 ngd929

I performed similar steps to @ngd929 and was able to start docker without wsl exiting with code: -1:

  • Uninstall Docker and WSL 2 kernel.
  • Uncheck Containers, Hyper-V, Windows Subsystem for Linux in Windows features
  • Restart the system
  • Install Docker Desktop
  • Restart System
  • Start Docker Desktop

Thanks!

ZacharyGonzales-Wellsky avatar Oct 01 '20 16:10 ZacharyGonzales-Wellsky

@ngd929 You saved my day! Thanks a lot. However, for me, I had to install the WSL2 update again to get my Docker Desktop start, otherwise it kept on complaining to get it and wouldn't start.

So I believe steps by @ZacharyGonzales-Wellsky has actually worked.

By the way I am running Windows 10 Enterprise version 2004, and Docker Desktop 2.4.0.0

ankitrgupta1 avatar Oct 03 '20 03:10 ankitrgupta1

The problem is in WSL as it becomes unresponsive and returns a service error if you try the following command in PowerShell: wsl -l -v

I believe the process can be simplified a bit more with:

  1. Uncheck Windows Subsystem for Linux in Windows Features
  2. Reboot
  3. Turn the feature back on
  4. Re-apply the WSL2 update
  5. Reboot

No need to uninstall/reinstall Docker Desktop.

This got me back up and running with Windows 10 Home (which requires WSL2) and Docker Desktop 2.4.0

LanceTrahan avatar Oct 12 '20 23:10 LanceTrahan

I was not able to launch the Ubuntu WSL initially (got the same error messages in the first post), I then ran "wsl --update" and was able to launch the Ubuntu WSL and got Docker started running again.

Followed your steps, but when running "wsl --update", it doesn't seem to be an option, it just outputs the help/usage info. The state I'm in is after running previous nine steps/bullet points, and then upon reboot and starting docker shows the message suggesting to install the kernel update: image

I closed out of that dialog, restarted docker, and then all-the-things started working 🤷

jzajac2 avatar Oct 20 '20 22:10 jzajac2

There's a note in the 2.4.2 Edge release notes: https://docs.docker.com/docker-for-windows/edge-release-notes/#bug-fixes-and-minor-changes

  • Fixed an issue that can intermittently cause the WSL 2 backend to fail to start.

LanceTrahan avatar Oct 20 '20 23:10 LanceTrahan

I've just faced the issue on the latest version of Docker but it was resolved once I "Quit Docker Desktop" and launched it again image

Kamil-Zakiev avatar Oct 29 '20 08:10 Kamil-Zakiev

Appreciated. Thank you for helpful solution here.

Ashok-Architect avatar Oct 31 '20 05:10 Ashok-Architect

There's a note in the 2.4.2 Edge release notes: https://docs.docker.com/docker-for-windows/edge-release-notes/#bug-fixes-and-minor-changes

  • Fixed an issue that can intermittently cause the WSL 2 backend to fail to start.

I did not see that problem. Docker autoupdated yesterday and now it is crashing on start 100%. Not sure if the mentioned "fix" is to blame.

ka-ramba avatar Nov 03 '20 14:11 ka-ramba

There's a note in the 2.4.2 Edge release notes: https://docs.docker.com/docker-for-windows/edge-release-notes/#bug-fixes-and-minor-changes

  • Fixed an issue that can intermittently cause the WSL 2 backend to fail to start.

I did not see that problem. Docker autoupdated yesterday and now it is crashing on start 100%. Not sure if the mentioned "fix" is to blame.

Same happened to me, I tried @ZacharyGonzales-Wellsky steps and it works now. I don't know why this happened though.

betodevq avatar Nov 03 '20 14:11 betodevq

The problem is in WSL as it becomes unresponsive and returns a service error if you try the following command in PowerShell: wsl -l -v

I believe the process can be simplified a bit more with:

  1. Uncheck Windows Subsystem for Linux in Windows Features
  2. Reboot
  3. Turn the feature back on
  4. Re-apply the WSL2 update
  5. Reboot

No need to uninstall/reinstall Docker Desktop.

This got me back up and running with Windows 10 Home (which requires WSL2) and Docker Desktop 2.4.0

Thank you. I followed the steps that you mentioned and it fixed the issue.

nishantjonnala007 avatar Nov 12 '20 14:11 nishantjonnala007

I had the same issue and was able to solve it by:

  • enabling Intel Virtualization Technology in my BIOS
  • allowing NUMA spanning in Hyper-V settings
  • reinstalling Docker with WSL-2 option ticked and installing WSL2 Linux kernel update package for x64 machines

artempogosian avatar Dec 03 '20 11:12 artempogosian

The problem is in WSL as it becomes unresponsive and returns a service error if you try the following command in PowerShell: wsl -l -v

I believe the process can be simplified a bit more with:

  1. Uncheck Windows Subsystem for Linux in Windows Features
  2. Reboot
  3. Turn the feature back on
  4. Re-apply the WSL2 update
  5. Reboot

No need to uninstall/reinstall Docker Desktop.

This got me back up and running with Windows 10 Home (which requires WSL2) and Docker Desktop 2.4.0

Thank you so much, it really helped me.

manasanoolu7 avatar Dec 08 '20 10:12 manasanoolu7

FWIW all I had to do was run the following commands in PowerShell and then restart docker and it started to work.

wsl --unregister docker-desktop-data
wsl --shutdown

Unfortunately, I lost all images that were cached locally.

lalitadithya avatar Jan 26 '21 14:01 lalitadithya

Got this after automatic upgrade to 3.1.0 Tried everything listed, nothing helps

gusarov avatar Jan 26 '21 14:01 gusarov

After upgrade to 3.1.0 mine started crashing as well, I had to disable Acrylic DNS Proxy. Now it seems to be ok again, but I lost some features I was using. You can find more info in: https://github.com/microsoft/WSL/issues/4364#issuecomment-520533800

Edited: As said by @yuptogun, if you are using Laravel Valet you can try to stop it. valet stop. I noted that if you stop valet, start WSL, and after WSL working, start valet again, it works.

sandrobocon avatar Feb 02 '21 18:02 sandrobocon

To add to the upper comment, this includes the case that you have Laravel Valet running. Try valet stop if you have one.

yuptogun avatar Feb 06 '21 15:02 yuptogun