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

WSL distro stopped while waiting for Lifecycle server.

Open smcpoland opened this issue 6 years ago • 43 comments

  • [x] I have tried with the latest version of my channel (Stable or Edge)
  • [x] I have uploaded Diagnostics
  • Diagnostics ID:

Expected behavior

Actual behavior

Information

  • Windows Version: 19628.1
  • Docker Desktop Version: Latest Update
  • Are you running inside a virtualized Windows e.g. on a cloud server or on a mac VM: NO

Steps to reproduce the behavior

  1. ...RESTART the Computer
  2. ...

WSL distro stopped while waiting for Lifecycle server.

Stdout:

Stderr: /go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/main.go:84 github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).execute /go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:762 github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).ExecuteC /go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:852 github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).Execute /go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:800 main.main /go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/main.go:26 runtime.main /usr/local/go/src/runtime/proc.go:203 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1357 wslpath wslCLIDest main.doRun /go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/main.go:223 main.run.func1 /go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/main.go:84 github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).execute /go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:762 github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).ExecuteC /go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:852 github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).Execute /go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:800 main.main /go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/main.go:26 runtime.main /usr/local/go/src/runtime/proc.go:203 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1357

A crash report has been uploaded with diagnostic ID: 8B6D4F6E-3AF1-4282-A977-6142F4A8C316/20200514201241

smcpoland avatar May 14 '20 22:05 smcpoland

I had the same setup and was getting the same trace on starting Docker. As suggested by jcoconnor I reinstalled Docker Desktop multiple times, and with the fourth installed attempt between Stable and Edge versions, Docker came up and ran successfully!

ranjukjohn avatar May 27 '20 00:05 ranjukjohn

Same issue, same trace after updating today to the latest version. I was able to get Docker Desktop to start again only after a reset to factory defaults.

PaulDulac avatar May 27 '20 04:05 PaulDulac

I got the same issue but after following steps, It worked.

  • uninstall docker desktop app
  • delete AppData\Local\Docker, DockerDesktop folder.
  • reboot
  • reinstall docker desktop app

yoonkwon avatar May 29 '20 14:05 yoonkwon

I had the same issue.

Windows Build 2004 Docker Desktop 2.3.0.3

Updated Kernel as per https://docs.docker.com/docker-for-windows/wsl/ (Had to manually move kernel file) Downloaded Docker Desktop Installation was ok Error on start, stack trace was the same as above

jessBlok avatar Jun 06 '20 17:06 jessBlok

I had the same issue. When I've open PowerShell and check which WSLs I have this was the output:

wsl -l -v
  NAME                   STATE           VERSION
* Ubuntu-18.04           Running         2
  docker-desktop-data    Stopped         2

I remember there was one more WSL environment, I think it was named docker-desktop but for some reason now it's gone.

ido-ran avatar Aug 23 '20 11:08 ido-ran

Same issue, what fixed mine is running bash/wsl first before running docker-desktop.

toryano0820 avatar Sep 04 '20 01:09 toryano0820

Same behaviour here as @ido-ran

PS C:\Users\jan.greth> wsl -l -v
  NAME                   STATE           VERSION
* Ubuntu-20.04           Running         2
  docker-desktop-data    Stopped         2

The third is missing. yesterday everything was fine - today i booted my PC and this error happend.

jpgreth avatar Sep 29 '20 06:09 jpgreth

After some reinstallations it worked angain - and today: Same error... again -.-

jpgreth avatar Oct 05 '20 07:10 jpgreth

The same issue after update docker desctop to 2.4.0.0

4BFF4823-CF47-4E3A-B267-46A3135A579B/20201007100036

4n70w4 avatar Oct 07 '20 10:10 4n70w4

Same with id 0833B0FB-2E99-4C86-A0BB-9433AB722923/20201020020458

asevans48 avatar Oct 20 '20 02:10 asevans48

have same issue 36A71A79-384B-4997-8A84-8C762BB52DEB/20201029090100

alex-belyaev avatar Oct 29 '20 09:10 alex-belyaev

I also have such issue


WSL distro stopped while waiting for Lifecycle server.
  >Stdout:

  >Stderr:
	/go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:838
github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).ExecuteC
	/go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:943
github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).Execute
	/go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:883
main.main
	/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/main.go:28
runtime.main
	/usr/local/go/src/runtime/proc.go:204
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1374
rootfs mountiso version-pack
main.setupRootFS
	/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/main.go:353
main.doRun
	/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/main.go:231
main.run.func1
	/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/main.go:86
github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).execute
	/go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:838
github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).ExecuteC
	/go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:943
github.com/docker/pinata/vendor/github.com/spf13/cobra.(*Command).Execute
	/go/src/github.com/docker/pinata/vendor/github.com/spf13/cobra/command.go:883
main.main
	/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/main.go:28
runtime.main
	/usr/local/go/src/runtime/proc.go:204
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1374

vmato avatar Nov 03 '20 10:11 vmato

Same error for me after update to latest version.

Deinstall v2.5. Reinstall v2.4. Works again!

I'm waiting until v2.5 is really stable.

SamLowryMOI avatar Nov 03 '20 10:11 SamLowryMOI

same issue with ID: EA581694-F658-4DED-87C5-3FC01105B603/20201105191622 Started happening after updated mobo BIOS happens with 2.5.0.1 too, ID: EA581694-F658-4DED-87C5-3FC01105B603/20201113014206

sipa- avatar Nov 05 '20 19:11 sipa-

Same issue for me. 2E663F6F-BCCB-479B-98B7-075A1FD8DE1A/20201106092406

I've also tried to use the Edge channel, but that also didn't work. Switching to using Hyper-V containers does work, but I'd really like to use the WSL backend as it has been performing much better.

ErikSchierboom avatar Nov 06 '20 09:11 ErikSchierboom

Same issue. 8D1CB7CA-4154-40A6-B4A1-343F481B3C61/20201111021437

vmato avatar Nov 11 '20 02:11 vmato

Same. Started when I installed 2.5.0.1. Crashed when I tried to restart Docker: 5A2A9E35-82DA-42A6-8BC0-34F1D0B3A8AB/20201111130811

derekrprice avatar Nov 11 '20 13:11 derekrprice

And crashed again, on rebooting my PC: 5A2A9E35-82DA-42A6-8BC0-34F1D0B3A8AB/20201111131533

derekrprice avatar Nov 11 '20 13:11 derekrprice

Tried it with v2.5.0.1 same error, no feedback here, very sad. Again back to v2.4.0.0.

SamLowryMOI avatar Nov 15 '20 05:11 SamLowryMOI

Not sure if this is helpful, but even after multiple clean reinstallations Docker did not work for v2.5.0.1. I was attempting to run Docker with the WSL 2 based engine with WSL limited to 512MB of RAM. However, everything managed to run successfully after I increased the RAM for WSL from 512MB to 1GB.

Lucria avatar Nov 16 '20 02:11 Lucria