Skip to content

Docker Desktop doesn't start after upgrade to 4.1.0 #12229

Closed

Description

@danielwagn3r
  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID: C160B580-EEE1-47FD-9CBE-A7D249EFF2B4/20211001124541

Actual behavior

Docker doesn't start after update to Docker Desktop 4.1.0

Expected behavior

Docker Desktop is running

Information

Please, help us understand the problem. For instance:

  • Is it reproducible? yes
  • Is the problem new? yes
  • Did the problem appear with an update? yes
  • A reproducible case if this is a bug, Dockerfiles with reproduction inside is best.
  • Windows Version: 21H1 (OS Build 19043.1237)
  • Docker Desktop Version: 4.1.0 (69386)
  • WSL2 or Hyper-V backend? WSL2
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: no

Steps to reproduce the behavior

  1. Update to Docker Desktop 4.1.0
  2. Docker Desktop doesn't start after update

Activity

  1. Hazmi35 commented on Oct 1, 2021

    @Hazmi35

    This could be the same problem with me, do docker system info work on Windows but not WSL? if yes then try to check the log from %AppData%\Local\Docker, if the logs are similar like this (can't access specified distro mount service: stat <some path> no such file or directory):

    [03:56:35.873][IPCClient         ][Info   ] (c8e79548) d6596a4e-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check
    [03:56:35.874][LinuxWSL2Engine   ][Info   ] msg="(c8e79548) 741b322b-cross-distro S<-C d6596a4e-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [03:56:35.874][LinuxWSL2Engine   ][Error  ] msg="(c8e79548) 741b322b-cross-distro S->C d6596a4e-WslIntegrationService-CSharp GET /check (144.296µs): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0000cd6c0})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    [03:56:36.137][IPCClient         ][Info   ] (4141d5b5) 5c844eaf-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check
    [03:56:36.138][LinuxWSL2Engine   ][Info   ] msg="(4141d5b5) 741b322b-cross-distro S<-C 5c844eaf-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [03:56:36.138][LinuxWSL2Engine   ][Error  ] msg="(4141d5b5) 741b322b-cross-distro S->C 5c844eaf-WslIntegrationService-CSharp GET /check (128.005µs): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0000cd880})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    [03:56:36.407][IPCClient         ][Info   ] (47ed5f20) 4d75faee-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check
    [03:56:36.407][LinuxWSL2Engine   ][Info   ] msg="(47ed5f20) 741b322b-cross-distro S<-C 4d75faee-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [03:56:36.408][LinuxWSL2Engine   ][Error  ] msg="(47ed5f20) 741b322b-cross-distro S->C 4d75faee-WslIntegrationService-CSharp GET /check (112.746µs): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0000cda40})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    [03:56:36.671][IPCClient         ][Info   ] (33b62031) 353aa777-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check
    [03:56:36.672][LinuxWSL2Engine   ][Info   ] msg="(33b62031) 741b322b-cross-distro S<-C 353aa777-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [03:56:36.672][LinuxWSL2Engine   ][Error  ] msg="(33b62031) 741b322b-cross-distro S->C 353aa777-WslIntegrationService-CSharp GET /check (112.245µs): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0000cdc00})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    [03:56:36.936][IPCClient         ][Info   ] (b0594732) f83e1a63-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check
    [03:56:36.937][LinuxWSL2Engine   ][Info   ] msg="(b0594732) 741b322b-cross-distro S<-C f83e1a63-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [03:56:36.937][LinuxWSL2Engine   ][Info   ] distro Arch mount service not running after 1m40.84157665s (no socket /run/guest-services/distro-services/arch.sock)
    [03:56:36.937][LinuxWSL2Engine   ][Error  ] msg="(b0594732) 741b322b-cross-distro S->C f83e1a63-WslIntegrationService-CSharp GET /check (130.65µs): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0000cddc0})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    

    Then we are facing the same problem, Docker WSL Integration fails to start but the Docker engine is running with no problems, I don't know why this happens only with ArchWSL but not UbuntuWSL.
    I tried resetting the Docker Desktop settings and I managed to disable the WSL Integration by unregistering ArchWSL and Docker Dekstop runs perfectly, but of course, I can't use Docker in ArchWSL because the WSL Integration is disabled, I tried enabling it again, restart then the same issue happens.

    Docker engine runs normally and can be accessed from Windows. The only problem is, Docker Desktop Dashboard marks it as "Docker Engine is Starting" and I can't edit the settings to disable the WSL Integration, this is why I use the workarounds by unregistering ArchWSL to disable the WSL Integration, well even if I can disable the WSL Integration from the Docker Desktop Dashboard, I wouldn't do it because I need the WSL Integration.

    Because of this, I'm forced to downgrade to Docker Desktop v4.0.1, and this issue doesn't exist in that version.

  2. danielwagn3r commented on Oct 1, 2021

    @danielwagn3r
    Author

    I'm using https://github.com/yuk7/ArchWSL , too.

    Found following log entries:

    [16:02:11.274][LinuxWSL2Engine   ][Info   ] msg="(25939269) 66cb7c9b-cross-distro S<-C 3a15a164-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [16:02:11.274][LinuxWSL2Engine   ][Info   ] distro Arch mount service not running after 1.6�s (no socket /run/guest-services/distro-services/arch.sock)
    [16:02:11.274][LinuxWSL2Engine   ][Error  ] msg="(25939269) 66cb7c9b-cross-distro S->C 3a15a164-WslIntegrationService-CSharp GET /check (238.5�s): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0003fe2a0})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    [16:02:11.574][GoBackendProcess  ][Info   ] msg="(c3977936) 86ed1b76-VMAPI S<-C 8c632b85-MetadataCMD GET /vm/init[[STACK]]github.com/docker/pinata/common/pkg/backend.(*backendClient).GetVMInit(0xc0003787a0)\n\t/go/src/github.com/docker/pinata/common/pkg/backend/client.go:126 +0x5a\nmain.getVMInit({0xb75ce0, 0xc0003787a0})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/metadata/main.go:39 +0xc6\nmain.main()\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/metadata/main.go:27 +0x145\n"
    
  3. Hazmi35 commented on Oct 1, 2021

    @Hazmi35

    Hmm, interesting. I think you should reference this issue on ArchWSL too.

    Sorry that, I don't have the time right now to debug who and what caused this issue, so I don't have more info about why this is happening only on ArchWSL, I've only tested UbuntuWSL and I don't know if this happens with other WSL Distribution from MS Store or other wsldl-based WSL Distribution

  4. Thoth87 commented on Oct 1, 2021

    @Thoth87

    OpenSuse WSL2 after update to 4.1 stuck on "Docker engine start" with this error in log:

    [19:14:26.033][LinuxWSL2Engine ][Error ] msg="(6574522c) 608e1526-cross-distro S->C 9cbcdc3e-WslIntegrationService-CSharp GET /check (161.4µs): can't access specified distro mount service: stat /run/guest-services/distro-services/opensuse-tumbleweed.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc000110460})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"

  5. soroshsabz commented on Oct 1, 2021

    @soroshsabz

    I have the same error for WSL 2

    System.InvalidOperationException:
    Failed to deploy distro docker-desktop to C:\Users\ssoroosh\AppData\Local\Docker\wsl\distro: exit code: -1
     stdout: The network was not found.
    
    
     stderr: 
       at Docker.ApiServices.WSL2.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) in C:\workspaces\master-merge\src\github.com\docker\pinata\win\src\Docker.ApiServices\WSL2\WslCommand.cs:line 146
       at Docker.Engines.WSL2.WSL2Provisioning.<DeployDistroAsync>d__17.MoveNext() in C:\workspaces\master-merge\src\github.com\docker\pinata\win\src\Docker.Engines\WSL2\WSL2Provisioning.cs:line 168
    --- 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.<ProvisionAsync>d__8.MoveNext() in C:\workspaces\master-merge\src\github.com\docker\pinata\win\src\Docker.Engines\WSL2\WSL2Provisioning.cs:line 77
    --- 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.<DoStartAsync>d__29.MoveNext() in C:\workspaces\master-merge\src\github.com\docker\pinata\win\src\Docker.Engines\WSL2\LinuxWSL2Engine.cs:line 194
    --- 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.<WrapAsyncInCancellationException>d__0.MoveNext() in C:\workspaces\master-merge\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.<DoRunAsync>d__5.MoveNext() in C:\workspaces\master-merge\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.<DoRunAsync>d__5.MoveNext() in C:\workspaces\master-merge\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 92
    
    
  6. yoanndelattre commented on Oct 1, 2021

    @yoanndelattre

    I have the same error for WSL 2

  7. nbu commented on Oct 2, 2021

    @nbu

    This could be the same problem with me, do docker system info work on Windows but not WSL? if yes then try to check the log from %AppData%\Local\Docker, if the logs are similar like this (can't access specified distro mount service: stat <some path> no such file or directory):

    [03:56:35.873][IPCClient         ][Info   ] (c8e79548) d6596a4e-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check
    [03:56:35.874][LinuxWSL2Engine   ][Info   ] msg="(c8e79548) 741b322b-cross-distro S<-C d6596a4e-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [03:56:35.874][LinuxWSL2Engine   ][Error  ] msg="(c8e79548) 741b322b-cross-distro S->C d6596a4e-WslIntegrationService-CSharp GET /check (144.296µs): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0000cd6c0})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    [03:56:36.137][IPCClient         ][Info   ] (4141d5b5) 5c844eaf-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check
    [03:56:36.138][LinuxWSL2Engine   ][Info   ] msg="(4141d5b5) 741b322b-cross-distro S<-C 5c844eaf-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [03:56:36.138][LinuxWSL2Engine   ][Error  ] msg="(4141d5b5) 741b322b-cross-distro S->C 5c844eaf-WslIntegrationService-CSharp GET /check (128.005µs): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0000cd880})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    [03:56:36.407][IPCClient         ][Info   ] (47ed5f20) 4d75faee-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check
    [03:56:36.407][LinuxWSL2Engine   ][Info   ] msg="(47ed5f20) 741b322b-cross-distro S<-C 4d75faee-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [03:56:36.408][LinuxWSL2Engine   ][Error  ] msg="(47ed5f20) 741b322b-cross-distro S->C 4d75faee-WslIntegrationService-CSharp GET /check (112.746µs): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0000cda40})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    [03:56:36.671][IPCClient         ][Info   ] (33b62031) 353aa777-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check
    [03:56:36.672][LinuxWSL2Engine   ][Info   ] msg="(33b62031) 741b322b-cross-distro S<-C 353aa777-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [03:56:36.672][LinuxWSL2Engine   ][Error  ] msg="(33b62031) 741b322b-cross-distro S->C 353aa777-WslIntegrationService-CSharp GET /check (112.245µs): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0000cdc00})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    [03:56:36.936][IPCClient         ][Info   ] (b0594732) f83e1a63-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check
    [03:56:36.937][LinuxWSL2Engine   ][Info   ] msg="(b0594732) 741b322b-cross-distro S<-C f83e1a63-WslIntegrationService-CSharp GET /check[[STACK]]   at Docker.Engines.WslIntegrationService.<WaitForDistroReadyAsync>d__18.MoveNext() in C:\\workspaces\\master-merge\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Engines\\WslIntegrationService.cs:line 0\n"
    [03:56:36.937][LinuxWSL2Engine   ][Info   ] distro Arch mount service not running after 1m40.84157665s (no socket /run/guest-services/distro-services/arch.sock)
    [03:56:36.937][LinuxWSL2Engine   ][Error  ] msg="(b0594732) 741b322b-cross-distro S->C f83e1a63-WslIntegrationService-CSharp GET /check (130.65µs): can't access specified distro mount service: stat /run/guest-services/distro-services/arch.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc0000cddc0})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    

    Then we are facing the same problem, Docker WSL Integration fails to start but the Docker engine is running with no problems, I don't know why this happens only with ArchWSL but not UbuntuWSL. I tried resetting the Docker Desktop settings and I managed to disable the WSL Integration by unregistering ArchWSL and Docker Dekstop runs perfectly, but of course, I can't use Docker in ArchWSL because the WSL Integration is disabled, I tried enabling it again, restart then the same issue happens.

    Docker engine runs normally and can be accessed from Windows. The only problem is, Docker Desktop Dashboard marks it as "Docker Engine is Starting" and I can't edit the settings to disable the WSL Integration, this is why I use the workarounds by unregistering ArchWSL to disable the WSL Integration, well even if I can disable the WSL Integration from the Docker Desktop Dashboard, I wouldn't do it because I need the WSL Integration.

    Because of this, I'm forced to downgrade to Docker Desktop v4.0.1, and this issue doesn't exist in that version.

    I tried to downgrade to 4.0.1, it didn't work for me, the same result. Downgrade to 4.0.0 worked for me.

  8. sharpjs commented on Oct 2, 2021

    @sharpjs

    Same issue here. Windows 11 Build 22000.194. Have ArchWSL. I'll unregister my ArchWSL until this is fixed.

  9. nbu commented on Oct 2, 2021

    @nbu

    Was able to get Docker Desktop 4.1.0 running successfully on Windows 11 by deleting all my WSL distros, then installing Docker Desktop 4.1.0. Then, when I have installed the distros again, Docker Desktop kept working.

  10. cailloumajor commented on Oct 2, 2021

    @cailloumajor

    Same issue here, after upgrading Docker Desktop from version 4.0.1 to version 4.1.0, using WSL2 with Debian.
    In log.txt, under %UserProfile%\AppData\Local, the following line appears many times:

    [20:55:15.535][LinuxWSL2Engine   ][Error  ] msg="(4fde6f80) 08d895e2-cross-distro S->C 28b46d0f-WslIntegrationService-CSharp GET /check (222µs): can't access specified distro mount service: stat /run/guest-services/distro-services/debian.sock: no such file or directory[[STACK]]main.StartCrossDistroServer.func2({0xc0cf20, 0xc000527420})\n\t/go/src/github.com/docker/pinata/linuxkit/pkg/wsl-bootstrap/cross-distro-service.go:58 +0x412\n"
    
  11. fchristl commented on Oct 2, 2021

    @fchristl

    I have the same problem with a Ubuntu WSL. Downgrading to 4.0.0 fixes the issue. Even disabling WSL integration prior to an upgrade does not solve the issue.

  12. cailloumajor commented on Oct 2, 2021

    @cailloumajor

    I tried following steps (Docker Desktop v4.1.0, Windows 10 21H1 build 19043.1237):

    1. stop Docker Desktop if running (by killing its process if it is stuck starting)
    2. backup WSL2 Debian filesystem with wsl.exe --export ... (PowerShell)
    3. remove WSL2 Debian (uninstall the Windows app)
    4. install WSL2 Debian again and start it to get a fresh install
    5. start Docker Desktop ➜ ✔️ Success starting
      • getting a terminal in docker-desktop VM (docker run -it --rm --privileged --pid=host justincormack/nsenter1 in PowerShell), I can see that the /run/guests-services/distro-services/debian socket exists
    6. stop Docker Desktop
    7. extract original filesystem (backed up in step 1) with wsl.exe --import ... (PowerShell) in a temporary location
    8. overwrite WSL Debian filesystem with the one extracted in step 7
    9. start Docker Desktop ➜ ❌ Starting hangs as described in Docker Desktop doesn't start after upgrade to 4.1.0 #12229 (comment)
      • getting a terminal in docker-desktop VM, I can see that the directory /run/guest-services/distro-services is not present
  13. drhoads commented on Oct 2, 2021

    @drhoads

    I upgraded to 4.01 (Win10 with WSL2-Ubuntu) and now have an exception that prevents Docker Desktop from starting. Tried upgrading to Docker 4.1 and that didn't solve the problem, trying to go back to Docker 3.6

  14. cailloumajor commented on Oct 2, 2021

    @cailloumajor

    I tried running sudo /mnt/wsl/docker-desktop/docker-desktop-proxy --distro-name Debian --docker-desktop-root /mnt/wsl/docker-desktop, as I found in %UserProfile%\AppData\Roaming\Docker\log\host\com.docker.wsl-distro-proxy.exe.log. I get this result:

    INFO[0000] cli tools directory /mnt/wsl/docker-desktop/cli-tools has contents
    INFO[0000] populating cli tools from /mnt/wsl/docker-desktop/cli-tools
    INFO[0000] creating symlink for /usr/bin/com.docker.cli
    fatal error: unexpected signal during runtime execution
    INFO[0000] creating symlink for /usr/bin/docker
    [signal SIGSEGV: segmentation violation code=0x1 addr=0xe5 pc=0x7f9531ff5e80]
    
    runtime stack:
    runtime.throw({0xb617d2, 0x0})
            runtime/panic.go:1198 +0x71
    runtime.sigpanic()
            runtime/signal_unix.go:719 +0x396
    
    goroutine 1 [syscall]:
    runtime.cgocall(0xa94540, 0xc00025f9f8)
            runtime/cgocall.go:156 +0x5c fp=0xc00025f9d0 sp=0xc00025f998 pc=0x40519c
    os/user._Cfunc_mygetgrnam_r(0xc000367810, 0xc0002e6fa0, 0x1b0bb80, 0x400, 0xc000010618)
            _cgo_gotypes.go:122 +0x50 fp=0xc00025f9f8 sp=0xc00025f9d0 pc=0x516590
    os/user.lookupGroup.func1.1({0xc000367810, 0x10, 0x13aaec0}, 0xc000367810, 0x0, 0x40eec7)
            os/user/cgo_lookup_unix.go:148 +0xbb fp=0xc00025fa58 sp=0xc00025f9f8 pc=0x5175db
    os/user.lookupGroup.func1()
            os/user/cgo_lookup_unix.go:148 +0x31 fp=0xc00025fa98 sp=0xc00025fa58 pc=0x5174f1
    os/user.retryWithBuffer(0xc000378e60, 0xc00025fb88)
            os/user/cgo_lookup_unix.go:249 +0x39 fp=0xc00025fae0 sp=0xc00025fa98 pc=0x517ff9
    os/user.lookupGroup({0xb40928, 0x6})
            os/user/cgo_lookup_unix.go:143 +0x16b fp=0xc00025fbd8 sp=0xc00025fae0 pc=0x5172cb
    os/user.LookupGroup(...)
            os/user/lookup.go:51
    main.main()
            github.com/docker/pinata/docker-desktop-proxy/main.go:145 +0x78d fp=0xc00025ff80 sp=0xc00025fbd8 pc=0xa901ad
    runtime.main()
            runtime/proc.go:255 +0x227 fp=0xc00025ffe0 sp=0xc00025ff80 pc=0x437ec7
    runtime.goexit()
            runtime/asm_amd64.s:1581 +0x1 fp=0xc00025ffe8 sp=0xc00025ffe0 pc=0x4652e1
    
    goroutine 6 [runnable]:
    syscall.Syscall(0x10a, 0xc000482000, 0xffffffffffffff9c, 0xc000484000)
            syscall/asm_linux_amd64.s:20 +0x5
    syscall.symlinkat({0xc000096270, 0xc000404000}, 0xdfcf60, {0xc0000a20c0, 0xf})
            syscall/zsyscall_linux_amd64.go:112 +0x185
    syscall.Symlink(...)
            syscall/syscall_linux.go:181
    os.Symlink.func1(...)
            os/file_unix.go:359
    os.ignoringEINTR(...)
            os/file_posix.go:246
    os.Symlink({0xc000096270, 0x4}, {0xc0000a20c0, 0x17})
            os/file_unix.go:358 +0x56
    main.populateCliTools.func1({0xc000096270, 0x30}, {0xc0000a20c0, 0xf})
            github.com/docker/pinata/docker-desktop-proxy/main.go:433 +0x171
    main.walkCliTools.func1({0xc000096270, 0x30}, {0xe31450, 0xc0000a6680}, {0x0, 0x0})
            github.com/docker/pinata/docker-desktop-proxy/main.go:519 +0xf7
    path/filepath.walk({0xc000096270, 0x30}, {0xe31450, 0xc0000a6680}, 0xc000125e08)
            path/filepath/path.go:418 +0x125
    path/filepath.walk({0xc000096180, 0x29}, {0xe31450, 0xc0000a6340}, 0xc000125e08)
            path/filepath/path.go:442 +0x28f
    path/filepath.walk({0xc0000960f0, 0x25}, {0xe31450, 0xc0000a6270}, 0xc000125e08)
            path/filepath/path.go:442 +0x28f
    path/filepath.walk({0xc000133dd0, 0x21}, {0xe31450, 0xc0000a61a0}, 0xc000125e08)
            path/filepath/path.go:442 +0x28f
    path/filepath.Walk({0xc000133dd0, 0x21}, 0xc000125e08)
            path/filepath/path.go:505 +0x6c
    main.walkCliTools({0xc000133dd0, 0x4}, 0xb5429c)
            github.com/docker/pinata/docker-desktop-proxy/main.go:510 +0x56
    main.populateCliTools({0xc000133dd0, 0x21}, {0x131c0f0, 0x1, 0xc00005efc0})
            github.com/docker/pinata/docker-desktop-proxy/main.go:414 +0xc7
    main.main.func1()
            github.com/docker/pinata/docker-desktop-proxy/main.go:140 +0x16a
    created by main.main
            github.com/docker/pinata/docker-desktop-proxy/main.go:130 +0x772
    

    Trying the same command in a fresh Ubuntu WSL2 distro in which Docker runs well gives this result:

    INFO[0000] cli tools directory /mnt/wsl/docker-desktop/cli-tools has contents
    INFO[0000] populating cli tools from /mnt/wsl/docker-desktop/cli-tools
    INFO[0000] creating symlink for /usr/bin/com.docker.cli
    INFO[0000] creating symlink for /usr/bin/docker
    INFO[0000] creating symlink for /usr/bin/docker-compose
    INFO[0000] creating symlink for /usr/bin/docker-compose-v1
    INFO[0000] creating symlink for /usr/bin/docker-credential-desktop.exe
    INFO[0000] creating symlink for /usr/bin/hub-tool
    INFO[0000] creating symlink for /usr/local/bin/kubectl
    INFO[0000] creating symlink for /usr/local/lib/docker/cli-plugins/docker-buildx
    INFO[0000] creating symlink for /usr/local/lib/docker/cli-plugins/docker-compose
    INFO[0000] creating symlink for /usr/local/lib/docker/cli-plugins/docker-scan
    INFO[0000] creating symlink for /usr/local/lib/docker/snyk
    INFO[0000] creating symlink for /usr/share/bash-completion/completions/docker
    INFO[0000] creating symlink for /usr/share/doc/docker-ce-cli/changelog.Debian.gz
    INFO[0000] creating symlink for /usr/share/fish/vendor_completions.d/docker.fish
    INFO[0000] creating symlink for /usr/share/man/man1/docker-attach.1.gz
    INFO[0000] ipc.NewClient: 21363759-LinuxProxyCMD -> /mnt/wsl/docker-desktop/shared-sockets/host-services/gui-api.sock  [[STACK]]github.com/docker/pinata/common/pkg/gui.NewClientForPath({0xb46f39, 0x2}, {0xc00003a8c0, 0x3})
            github.com/docker/pinata/common/pkg/gui/client.go:78 +0x28
    main.main()
            github.com/docker/pinata/docker-desktop-proxy/main.go:171 +0xd73
    INFO[0000] creating symlink for /usr/share/man/man1/docker-build.1.gz
    INFO[0000] ipc.NewClient: c62ffbe0-LinuxProxyCMD -> /mnt/wsl/docker-desktop/shared-sockets/host-services/backend.sock BackendAPI [[STACK]]github.com/docker/pinata/common/pkg/backend.NewClientForPath(...)
            github.com/docker/pinata/common/pkg/backend/client.go:61
    main.main()
            github.com/docker/pinata/docker-desktop-proxy/main.go:188 +0xf97
    INFO[0000] (6852665d) c62ffbe0-LinuxProxyCMD C->S BackendAPI GET /hub-login
    INFO[0000] creating symlink for /usr/share/man/man1/docker-builder-build.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-builder-prune.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-builder.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-checkpoint-create.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-checkpoint-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-checkpoint-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-checkpoint.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-commit.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-config-create.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-config-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-config-ls.1.gz 
    INFO[0000] creating symlink for /usr/share/man/man1/docker-config-rm.1.gz 
    INFO[0000] creating symlink for /usr/share/man/man1/docker-config.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-attach.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-commit.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-cp.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-create.1.gz
    INFO[0000] (6852665d) c62ffbe0-LinuxProxyCMD C<-S d349812d-VMAPI GET /hub-login (12.0024ms): {"baseURL":"https://hub.docker.com","id":"cailloumajor","token":"eyJ4NWMiOlsiTUlJQytUQ0NBcCtnQXdJQkFnSUJBREFLQmdncWhrak9QUVFEQWpCR01VUXdRZ1lEVlFRREV6dFNUVWxHT2xGTVJqUTZRMGRRTXpwUk1rVmFPbEZJUkVJNlZFZEZWVHBWU0ZWTU9rWk1WalE2UjBkV1dqcEJOVlJIT2xSTE5GTTZVVXhJU1RBZUZ3MHlNVEF4TWpVeU16RTFNREJhRncweU1qQXhNalV5TXpFMU1EQmFNRVl4UkRCQ0JnTlZCQU1UTzFWUFNWSTZSRTFKVlRwWVZWSlJPa3RXUVV3NlNrcExWenBMTkZKRk9rVk9URXM2UTFkRlREcEVTazlJT2xKWE4xYzZUa1JLVkRwVldFNVlNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQW52QXlaRStPbGR4K2N4UUtEQVlLZkxySWJOaytoZ2hIN05cL2ZMWkxUOERhdU8xdGhNZ2hqbGNwaEVWQ25hMWUwRmk4dWxSVnhYbUd1allUM1ducWxnZmkzZlhNRFwvQlBRTmlkWHZkeWprbDFZS3dPTkl3TkFWMnRXbExxaXFsdGhSWkFnTFdvWWZZMXZQMHFKTFZBbWt5bUkrOXRBcEMxNldNZ1ZFcHJGdE1rNnV0NDlMcDlUR1J0aDJQbHVWc3RSQ1hVUGp4bjI0d3NnYlUwVStjWTJSNEpyZmVJdzN0T1ZKbXNESkNaYW5SNmVheFYyVFZFUkxoZnNGVTlsSHAzcldCZ1RuNVRCSHlMRDNRdGVFXC8yd1wvc1wvcUxZcmdIK1hCMmZBazJPd1NIRG5YWDg4WWVJd0EyVGJJMDdYNVwvMUJ1bGlMK1A3bjllQU9UZmw5MVZWcDREd0lEQVFBQm80R3lNSUd2TUE0R0ExVWREd0VCXC93UUVBd0lIZ0RBUEJnTlZIU1VFQ0RBR0JnUlZIU1VBTUVRR0ExVWREZ1E5QkR0VlQwbFNPa1JOU1ZVNldGVlNVVHBMVmtGTU9rcEtTMWM2U3pSU1JUcEZUa3hMT2tOWFJVdzZSRXBQU0RwU1Z6ZFhPazVFU2xRNlZWaE9XREJHQmdOVkhTTUVQekE5Z0R0U1RVbEdPbEZNUmpRNlEwZFFNenBSTWtWYU9sRklSRUk2VkVkRlZUcFZTRlZNT2taTVZqUTZSMGRXV2pwQk5WUkhPbFJMTkZNNlVVeElTVEFLQmdncWhrak9QUVFEQWdOSUFEQkZBaUVBMGQ3eXVrNCtYSVpua1BvdElWR0J4cFFKd2kzNDB0TFJvdHdDOXg2Qml1Y0NJSEVKYjJYaDRDOG1hVmJzUTF3dlRIK2FEZXRVeEFLbWViR1drcXpnUnVnVCJdLCJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZXNzaW9uX2lkIjoiQzJEOTZGOEU1NUZERDY5NzFBQzg1QTk5MjEyOUI2MjUiLCJleHAiOjE2MzU3OTUzMzgsImlhdCI6MTYzMzIwMzMzOCwic3ViIjoiNjZmNGIzNjQwNzExNDIwZTk0MGY4YTM3OGZlODZjYzciLCJqdGkiOiJDMkQ5NkY4RTU1RkRENjk3MUFDODVBOTkyMTI5QjYyNSIsInVzZXJfaWQiOiI2NmY0YjM2NDA3MTE0MjBlOTQwZjhhMzc4ZmU4NmNjNyIsInVzZXJuYW1lIjoiY2FpbGxvdW1ham9yIn0.UE87NK6zFv5aQvrUVtxkGgo-vP-BjYgRRsVXoPqjhx7hmquIn0hO0UzxW8yWmgB6u6jF0i2kFJZzh3TbbXNF8Sw4U_0PuwV_a_NvDJz8PZipONCORqUpkDOXzxtSyYDmOBQv810o2FiuqZTwrRKdxe9HzP5ci15gty8CjISrd4gSk1nrshJHxeVTkuBj3D1coBsFPMOVmbcLpL7VjVD5kMxr8OZbPDr31jq8UcQfQYly89sSQ7RSKXzBwLhR-MnRyfMY_nxINVBmrQu2ZgI_LbabV6cImyytdvdTc1g5LCkWyg2Zbu9SuWQG5m6Al98MCtcYz0NebC_xCKyyEwuwPQ"}
    INFO[0000] 30da9939-proxyControl : registering GET /ping
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-diff.1.gz
    INFO[0000] 30da9939-proxyControl : registering GET /
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-exec.1.gz 
    INFO[0000] ipc.NewServer: 30da9939-proxyControl <- /mnt/wsl/docker-desktop/shared-sockets/proxy-control-Ubuntu.sock[[STACK]]github.com/docker/pinata/common/pkg/proxy.StartControlServer({0xe24600, 0xc000542050}, {0xc000518340, 0x1}, {0xe23d68, 0xc00050a090})
            github.com/docker/pinata/common/pkg/proxy/control.go:18 +0x7c
    main.main()
            github.com/docker/pinata/docker-desktop-proxy/main.go:196 +0x1150
    INFO[0000] 30da9939-proxyControl : registering POST /hub-login
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-export.1.gz
    INFO[0000] 30da9939-proxyControl : registering GET /proxy/is-restricted
    INFO[0000] 30da9939-proxyControl : registering POST /proxy/lock
    INFO[0000] 30da9939-proxyControl : registering POST /proxy/unlock
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-inspect.1.gz
    INFO[0000] starting 30da9939-proxyControl for component ProxyPKG on /mnt/wsl/docker-desktop/shared-sockets/proxy-control-Ubuntu.sock
    ⇨ http server started on /mnt/wsl/docker-desktop/shared-sockets/proxy-control-Ubuntu.sock
    INFO[0000] NewUnixProxy from /var/run/docker-cli.sock -> /mnt/wsl/docker-desktop/shared-sockets/host-services/backend.sock
    INFO[0000] 35892208-cross-distro : registering GET /ping
    INFO[0000] 35892208-cross-distro : registering GET /
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-kill.1.gz
    INFO[0000] ipc.NewServer: 35892208-cross-distro <- /mnt/wsl/docker-desktop/shared-sockets/guest-services/distro-services/ubuntu.sock[[STACK]]main.startCrossDistroService({0xe22c60, 0xc00028d740})        github.com/docker/pinata/docker-desktop-proxy/crossdistroservice.go:28 +0x246
    main.main()
            github.com/docker/pinata/docker-desktop-proxy/main.go:236 +0x16c5
    INFO[0000] 35892208-cross-distro : registering POST /add-mount
    INFO[0000] 35892208-cross-distro : registering POST /write
    INFO[0000] 35892208-cross-distro : registering GET /check
    INFO[0000] starting 35892208-cross-distro for component Ubuntu on /mnt/wsl/docker-desktop/shared-sockets/guest-services/distro-services/ubuntu.sock
    ⇨ http server started on /mnt/wsl/docker-desktop/shared-sockets/guest-services/distro-services/ubuntu.sock
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-logs.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-pause.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-port.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-prune.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-rename.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-restart.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-run.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-start.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-stats.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-stop.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-top.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-unpause.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-update.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container-wait.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-container.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-context-create.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-context-export.1.gz 
    INFO[0000] creating symlink for /usr/share/man/man1/docker-context-import.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-context-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-context-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-context-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-context-update.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-context-use.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-context.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-cp.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-create.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-diff.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-events.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-exec.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-export.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-history.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-build.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-history.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-import.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-load.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-prune.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-pull.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-push.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-save.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image-tag.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-image.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-images.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-import.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-info.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-kill.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-load.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-login.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-logout.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-logs.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-manifest-annotate.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-manifest-create.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-manifest-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-manifest-push.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-manifest-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-manifest.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-network-connect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-network-create.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-network-disconnect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-network-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-network-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-network-prune.1.gz 
    INFO[0000] creating symlink for /usr/share/man/man1/docker-network-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-network.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-node-demote.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-node-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-node-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-node-promote.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-node-ps.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-node-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-node-update.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-node.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-pause.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin-create.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin-disable.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin-enable.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin-install.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin-push.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin-set.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin-upgrade.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-plugin.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-port.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-ps.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-pull.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-push.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-rename.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-restart.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-rmi.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-run.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-save.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-search.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-secret-create.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-secret-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-secret-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-secret-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-secret.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-service-create.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-service-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-service-logs.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-service-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-service-ps.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-service-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-service-rollback.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-service-scale.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-service-update.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-service.1.gz 
    INFO[0000] creating symlink for /usr/share/man/man1/docker-stack-deploy.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-stack-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-stack-ps.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-stack-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-stack-services.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-stack.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-start.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-stats.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-stop.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-swarm-ca.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-swarm-init.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-swarm-join-token.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-swarm-join.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-swarm-leave.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-swarm-unlock-key.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-swarm-unlock.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-swarm-update.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-swarm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-system-df.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-system-events.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-system-info.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-system-prune.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-system.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-tag.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-top.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-trust-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-trust-key-generate.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-trust-key-load.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-trust-key.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-trust-revoke.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-trust-sign.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-trust-signer-add.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-trust-signer-remove.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-trust-signer.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-trust.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-unpause.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-update.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-version.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-volume-create.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-volume-inspect.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-volume-ls.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-volume-prune.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-volume-rm.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-volume.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker-wait.1.gz
    INFO[0000] creating symlink for /usr/share/man/man1/docker.1.gz
    INFO[0000] creating symlink for /usr/share/man/man5/Dockerfile.5.gz
    INFO[0000] creating symlink for /usr/share/man/man5/docker-config-json.5.gz 
    INFO[0000] creating symlink for /usr/share/man/man8/dockerd.8.gz
    INFO[0000] creating symlink for /usr/share/zsh/vendor-completions/_docker
    INFO[0000] cli tools successfully installed
    
  15. 33 remaining items

  16. mat007 commented on Oct 12, 2021

    @mat007
    Member

    I’m closing this issue as 4.1.1 has been released, but feel free to keep discussing.
    If you’re still having similar problems, please create a fresh issue.
    Thanks!

  17. danielwagn3r commented on Oct 12, 2021

    @danielwagn3r
    Author

    I’m closing this issue as 4.1.1 has been released, but feel free to keep discussing. If you’re still having similar problems, please create a fresh issue. Thanks!

    Thanks, too! I can confirm resolution of this issue.

  18. spullara commented on Oct 13, 2021

    @spullara

    This is happening to me with 4.1.1

    [17:45:59.675][IPCClient ][Info ] (304b3aa4) 54f55d15-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:00.660][VpnKitBridge ][Info ] msg="windows: still waiting for devenv-volumes, lifecycle-server, mutagen, volume-contents, debug-shell, docker, wsl2-cross-distro-service, wsl2-bootstrap-expose-ports, log, diagnosticd after 3h52m20.0002727s" [17:46:00.675][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:00.941][IPCClient ][Info ] (4556330a) 67183a94-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:01.940][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:02.190][IPCClient ][Info ] (d42317f0) 270d7cf5-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:03.190][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:03.441][IPCClient ][Info ] (cac06ccd) ee05e66f-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:04.440][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:04.690][IPCClient ][Info ] (c8debfcd) 8dca372c-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:05.690][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:05.941][IPCClient ][Info ] (92e8feeb) 4261ecf3-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:06.940][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:07.190][IPCClient ][Info ] (e0ccbb65) 2c6ac634-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:08.190][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:08.441][IPCClient ][Info ] (11b859c8) 918d9d81-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:09.441][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:09.692][IPCClient ][Info ] (58443e0c) 5816662a-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:10.660][VpnKitBridge ][Info ] msg="windows: still waiting for volume-contents, debug-shell, docker, wsl2-cross-distro-service, wsl2-bootstrap-expose-ports, devenv-volumes, lifecycle-server, mutagen, log, diagnosticd after 3h52m30.0007731s" [17:46:10.690][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:10.956][IPCClient ][Info ] (05bd4023) 650556ab-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:11.955][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:12.205][IPCClient ][Info ] (40d55c18) 1ce536e2-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:13.206][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:13.456][IPCClient ][Info ] (4761bdd4) ec8679f8-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:14.456][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:14.707][IPCClient ][Info ] (2c6e0e06) 2f2ccfaa-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:15.706][WslIntegrationService][Warning] HttpOS Client: connection timed out. [17:46:15.957][IPCClient ][Info ] (d3acbaeb) 4b443d5f-WslIntegrationService-CSharp C->S WSLCrossDistroService GET /check [17:46:16.956][WslIntegrationService][Warning] HttpOS Client: connection timed out.

  19. fmiqbal commented on Oct 13, 2021

    @fmiqbal

    @spullara try my tips

  20. spullara commented on Oct 13, 2021

    @spullara

    @spullara try my tips

    Those tips worked but it would be great if this was fixed without manual intervention. Can't imagine this will be great as everyone starts upgrading.

  21. fmiqbal commented on Oct 13, 2021

    @fmiqbal

    @spullara try my tips

    Those tips worked but it would be great if this was fixed without manual intervention. Can't imagine this will be great as everyone starts upgrading.

    true that, which my tips basically mean, "clean install" docker desktop 4.1.1

  22. soroshsabz commented on Oct 14, 2021

    @soroshsabz

    @mat007 I have this problem in 4.1.1 too

    System.InvalidOperationException:
    Failed to deploy distro docker-desktop to C:\Users\ssoroosh\AppData\Local\Docker\wsl\distro: exit code: -1
     stdout: The network was not found.
    
    
     stderr: 
       at Docker.ApiServices.WSL2.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) in C:\workspaces\PR-16599\src\github.com\docker\pinata\win\src\Docker.ApiServices\WSL2\WslCommand.cs:line 146
       at Docker.Engines.WSL2.WSL2Provisioning.<DeployDistroAsync>d__17.MoveNext() in C:\workspaces\PR-16599\src\github.com\docker\pinata\win\src\Docker.Engines\WSL2\WSL2Provisioning.cs:line 168
    --- 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.<ProvisionAsync>d__8.MoveNext() in C:\workspaces\PR-16599\src\github.com\docker\pinata\win\src\Docker.Engines\WSL2\WSL2Provisioning.cs:line 77
    --- 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.<DoStartAsync>d__29.MoveNext() in C:\workspaces\PR-16599\src\github.com\docker\pinata\win\src\Docker.Engines\WSL2\LinuxWSL2Engine.cs:line 194
    --- 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.<WrapAsyncInCancellationException>d__0.MoveNext() in C:\workspaces\PR-16599\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.<DoRunAsync>d__5.MoveNext() in C:\workspaces\PR-16599\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.<DoRunAsync>d__5.MoveNext() in C:\workspaces\PR-16599\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 92
    
  23. mat007 commented on Oct 14, 2021

    @mat007
    Member

    @spullara @soroshsabz like I said: please open a fresh issue, and make sure to include diagnostics. Thanks!

  24. soroshsabz commented on Oct 14, 2021

    @soroshsabz

    @mat007 Ok, sorry, I create new issue as you wish, see #12270

  25. soroshsabz commented on Oct 14, 2021

    @soroshsabz
  26. orzazade commented on Nov 6, 2021

    @orzazade

    I might get it working, but after

    • Unregistering docker-desktop, and docker-desktop-data
    • Maybe also delete Local/Appdata/Docker
    • Just a precautions to also delete settings.json and set enableIntegrationWithDefaultWslDistro to false, and after it started up successfully, enable it from docker desktop app

    Doing fine on Windows 11 build 22471.1000, ArchWSL Docker Desktop 4.1.1

    thank you it worked for me.

  27. docker-robott commented on Dec 6, 2021

    @docker-robott
    Collaborator

    Closed issues are locked after 30 days of inactivity.
    This helps our team focus on active issues.

    If you have found a problem that seems similar to this, please open a new issue.

    Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
    /lifecycle locked

  28. locked and limited conversation to collaborators on Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions