Containers started behaving a lot better. Made sure docker used the ubuntu for wsl integration. My solution: Followed this microsoft guide for setting up WSL 2 from scratch, step by step, ending with adding ubuntu from the store. I also noticed some settings were changing after some of my restarts, like the subnet mask was suddenly empty. I finally realised what the problem was once I was able to access the settings and saw the "You don't have any WSL 2 distro" message. I was confused because it seemed stable and working as some of my containers miraculously started and even worked fine for a while. Docker settings were mostly unavailable due to being stuck in "restarting" or "shutting down". I used Hyper-V up until now, atleast that's what I believe. My issue: WSL 2 integration was enabled after updating, but no WSL 2 distro was installed. While my problem should probably be its own thread, I'll post the solution here since I already posted about the problem here. Update: I finally figured out my problem. End of stack trace from previous location where exception was thrown -Īt .Throw()Īt .ThrowForNonSuccess(Task task)Īt .HandleNonSuccessAndDebuggerNotification(Task task)Īt _9.MoveNext()Īt .d_4.MoveNext() in C:\workspaces\PR-15077\src\\docker\pinata\win\src\Docker.Core\Logging\LoggingMessageHandler.cs:line 30Īt .d_58.MoveNext()Īt _0`1.MoveNext() in C:\workspaces\PR-15077\src\\docker\pinata\win\src\Docker.Core\HttpClientExtensions.cs:line 16Īt _10.MoveNext() in C:\workspaces\PR-15077\src\\docker\pinata\win\src\Docker.ApiServices\LifecycleClient.cs:line 122Īt _5.MoveNext() in C:\workspaces\PR-15077\src\\docker\pinata\win\src\Docker.Desktop\LinuxkitDaemonStartup.cs:line 30Īt 2Engine.d_25.MoveNext() in C:\workspaces\PR-15077\src\\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\LinuxWSL2Engine.cs:line 160Īt .d_0.MoveNext() in C:\workspaces\PR-15077\src\\docker\pinata\win\src\Docker.ApiServices\StateMachines\TaskExtensions.cs:line 20Īt .d_5.MoveNext() in C:\workspaces\PR-15077\src\\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 29Īt .d_5.MoveNext() in C:\workspaces\PR-15077\src\\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 38Īt .d_14.MoveNext() in C:\workspaces\PR-15077\src\\docker\pinata\win\src\Docker.ApiServices\StateMachines\EngineStateMachine.cs:line 69Īt _26.MoveNext() in C:\workspaces\PR-15077\src\\docker\pinata\win\src\Docker.Desktop\Engines\Engines.cs:line 266 :Ĭancellation token triggered before we finished reading from the stream.Īt _0.MoveNext() Not a "great" solution but better than deleted data. Any other suggestions? - Update: Switching from WSL2 to WSL1 got it back up. I have important containers and images that I don't want to lose, so that's hopefully not required.