Closed jimmy927 closed 4 years ago
Same issue with edge
FC536F7E-E7F5-437E-940C-10A3D084FA01/20200526194235
Version: 2.3.1.0 (45408)
Channel: edge
Sha1: 3a5799e5c9bd10401e24448b8f57356f935d62c7
Started on: 2020/05/26 21:41:58.981
Resources: C:\Program Files\Docker\Docker\resources
OS: Windows 10 Home
Edition: Core
Id: 2004
Build: 19041
BuildLabName: 19041.1.amd64fre.vb_release.191206-1406
File: C:\Users\jimmy\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
[21:41:59.155][GUI ][Info ] Starting...
[21:41:59.226][ComponentVersions ][Info ] Edition community
[21:41:59.231][ComponentVersions ][Info ] Edition community
[21:42:00.230][AppMigrator ][Info ] Current version: 6. Latest version: 6
[21:42:00.264][TrackingSettings ][Info ] Crash report and usage statistics are enabled
[21:42:00.267][SegmentApi ][Info ] Usage statistic: Identify
[21:42:00.463][SegmentApi ][Info ] Usage statistic: appLaunched
[21:42:03.674][ApplicationTemplatesTracking][Info ] Cannot list templates
[21:42:03.674][SegmentApi ][Info ] Usage statistic: eventTemplatesInfo
[21:42:03.676][SegmentApi ][Info ] Usage statistic: heartbeat
[21:42:04.019][LoggingMessageHandler][Info ] [191aac7e] <BackendAPIClient start> GET http://backend/version
[21:42:05.053][LoggingMessageHandler][Info ] [191aac7e] <BackendAPIClient end> GET http://backend/version -> 200 OK (took 1039ms)
[21:42:05.135][LoggingMessageHandler][Info ] [74eff330] <BackendAPIClient start> GET http://backend/hyperv/vhdx-size?path=C:%5CProgramData%5CDockerDesktop%5Cvm-data%5CDockerDesktop.vhdx
[21:42:05.213][LoggingMessageHandler][Info ] [74eff330] <BackendAPIClient end> GET http://backend/hyperv/vhdx-size?path=C:%5CProgramData%5CDockerDesktop%5Cvm-data%5CDockerDesktop.vhdx -> 200 OK (took 82ms)
[21:42:05.228][LoggingMessageHandler][Info ] [0d5cf5d9] <BackendAPIClient start> POST http://backend/migrate/app
[21:42:05.228][LoggingMessageHandler][Info ] [0d5cf5d9] <BackendAPIClient end> POST http://backend/migrate/app -> 204 NoContent (took 6ms)
[21:42:05.244][Engines ][Debug ] Starting
[21:42:05.260][LoggingMessageHandler][Info ] [46c5d52f] <BackendAPIClient start> POST http://backend/versionpack/enable
[21:42:05.447][LoggingMessageHandler][Info ] [46c5d52f] <BackendAPIClient end> POST http://backend/versionpack/enable -> 204 NoContent (took 188ms)
[21:42:05.744][GoBackendProcess ][Info ] Starting C:\Program Files\Docker\Docker\resources\com.docker.backend.exe -addr unix:\\.\pipe\dockerBackendApiServer
[21:42:06.181][Updater ][Info ] Check for update process exited with 4294967295
[21:42:06.353][GoBackendProcess ][Info ] Started
[21:42:06.431][EngineStateMachine][Debug ] sending state Docker.ApiServices.StateMachines.StartTransition to state change sink
[21:42:06.447][EngineStateMachine][Debug ] State Docker.ApiServices.StateMachines.StartTransition sent to state change sink
[21:42:06.447][EngineStateListener][Debug ] received state Docker.ApiServices.StateMachines.StartTransition from LinuxWSL2
[21:42:06.463][EngineStateNotificationRecorder][Debug ] Registered state {"State":"starting","Mode":"linux","date":1590522126}
[21:42:06.463][SystrayNotifications][Info ] Docker is starting
[21:42:06.463][LinuxWSL2Engine ][Info ] Terminating lingering processes and wsl distros and patching host file
[21:42:06.463][LoggingMessageHandler][Info ] [9ffd506c] <BackendAPIClient start> POST http://backend/dns/refresh-hosts
[21:42:06.660][WSL2Provisioning ][Error ] Failed to terminate distro: exit code: -1
stdout: There is no distribution with the supplied name.
stderr:
[21:42:06.676][LinuxWSL2Engine ][Info ] Stopping windows side processes
[21:42:06.754][LinuxWSL2Engine ][Info ] Stopping engine
[21:42:06.910][LinuxWSL2Engine ][Warning] Failed to send stop message to distro, will terminate abrubtly:
[21:42:07.035][WSL2Provisioning ][Error ] Failed to terminate distro: exit code: -1
stdout: There is no distribution with the supplied name.
stderr:
[21:42:07.035][EngineStateMachine][Debug ] sending state Docker.ApiServices.StateMachines.UnstableState to state change sink
[21:42:07.035][EngineStateMachine][Debug ] State Docker.ApiServices.StateMachines.UnstableState sent to state change sink
[21:42:07.035][EngineStateListener][Debug ] received state Docker.ApiServices.StateMachines.UnstableState from LinuxWSL2
[21:42:07.035][EngineStateNotificationRecorder][Debug ] Registered state {"State":"failed to start","Mode":"linux","date":1590522127}
[21:42:07.035][SystrayNotifications][Info ] Docker Desktop failed to stop
[21:42:07.144][Engines ][Error ] Start failed with Failed to terminate distro: exit code: -1
stdout: There is no distribution with the supplied name.
stderr:
at Docker.Core.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) in C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Core\WslCommand.cs:line 119
at Docker.Engines.WSL2.WSL2Provisioning.<TerminateDistroAsync>d__13.MoveNext() in C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 119
--- 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__6.MoveNext() in C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:line 33
--- 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__23.MoveNext() in C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\LinuxWSL2Engine.cs:line 91
--- 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\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\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 29
--- 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\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:line 51
--- 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.<StartAsync>d__14.MoveNext() in C:\workspaces\master\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.<StartAsync>d__23.MoveNext() in C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\Engines.cs:line 106)
[21:42:07.516][LoggingMessageHandler][Info ] [9ffd506c] <BackendAPIClient end> POST http://backend/dns/refresh-hosts -> 204 NoContent (took 1038ms)
[21:42:07.666][LoggingMessageHandler][Info ] [5346dbf7] <Server start> GET http://unix/versions
[21:42:07.770][LoggingMessageHandler][Info ] [5346dbf7] <Server end> GET http://unix/versions -> 200 OK (took 103ms)
[21:42:07.835][GoBackendProcess ][Info ] ⇨ http server started on \\.\pipe\dockerVpnKitControl
[21:42:07.835][GoBackendProcess ][Info ] ⇨ http server started on \\.\pipe\dockerBackendApiServerForGuest
[21:42:07.835][GoBackendProcess ][Info ] ⇨ http server started on \\.\pipe\dockerBackendApiServer
[21:42:07.835][GoBackendProcess ][Info ] started port-forwarding control server on \\\\.\\pipe\\dockerVpnKitControl
[21:42:07.835][GoBackendProcess ][Info ] listening on unix:\\\\.\\pipe\\dockerVpnkitData for data connection
[21:42:07.835][GoBackendProcess ][Info ] enabling filesystem caching
[21:42:07.835][GoBackendProcess ][Info ] filesystem exports are: (2)
[21:42:07.835][GoBackendProcess ][Info ] volume control server listening on \\\\.\\pipe\\dockerVolume
[21:42:07.835][GoBackendProcess ][Info ] filesystem server listening on 00000000-0000-0000-0000-000000000000:00001003-facb-11e6-bd58-64006a7986d3
[21:42:07.835][GoBackendProcess ][Info ] file ownership will be determined by the calling user (\"fake owner\" mode)
[21:42:07.835][GoBackendProcess ][Info ] using mfsymlinks
[21:42:25.096][SegmentApi ][Info ] Usage statistic: actionMenuFeedback
[21:42:30.261][LoggingMessageHandler][Info ] [9066ddb8] <Server start> POST http://localhost/notifications/subscriptions
[21:42:30.370][LoggingMessageHandler][Info ] [e5360e57] <NotificationsClient start> GET http://localhost/ping
[21:42:30.402][LoggingMessageHandler][Info ] [e5360e57] <NotificationsClient end> GET http://localhost/ping -> 200 OK (took 24ms)
[21:42:30.402][LoggingMessageHandler][Info ] [9066ddb8] <Server end> POST http://localhost/notifications/subscriptions -> 200 OK (took 135ms)
[21:42:32.802][LoggingMessageHandler][Info ] [5e204368] <Server start> GET http://localhost/registry/user
[21:42:32.805][LoggingMessageHandler][Info ] [5e204368] <Server end> GET http://localhost/registry/user -> 500 InternalServerError (took 2ms)
[21:42:32.805][LoggingMessageHandler][Info ] [f886a8d9] <Server start> GET http://localhost/docker
[21:42:32.809][LoggingMessageHandler][Info ] [cc00f44e] <Server start> GET http://localhost/kubernetes
[21:42:32.817][LoggingMessageHandler][Info ] [5f047ab4] <Server start> GET http://localhost/license/details
[21:42:32.819][LoggingMessageHandler][Info ] [9a31d72a] <Server start> GET http://localhost/versions
[21:42:32.821][LoggingMessageHandler][Info ] [9a31d72a] <Server end> GET http://localhost/versions -> 200 OK (took 2ms)
[21:42:32.821][LoggingMessageHandler][Info ] [f886a8d9] <Server end> GET http://localhost/docker -> 200 OK (took 16ms)
[21:42:32.821][LoggingMessageHandler][Info ] [cc00f44e] <Server end> GET http://localhost/kubernetes -> 200 OK (took 12ms)
[21:42:32.822][LoggingMessageHandler][Info ] [5f047ab4] <Server end> GET http://localhost/license/details -> 200 OK (took 4ms)
[21:42:32.847][GoBackendProcess ][Info ] external: GET /system/editor 404 \"axios/0.19.0\" \"\
[21:42:34.917][LoggingMessageHandler][Info ] [9139e7c2] <Server start> GET http://localhost/desktop/diagnose
[21:42:35.085][LoggingMessageHandler][Info ] [9139e7c2] <Server end> GET http://localhost/desktop/diagnose -> 204 NoContent (took 167ms)
[21:42:35.085][Diagnostics ][Warning] Starting to gather diagnostics as User : 'C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe' gather.
[21:42:35.932][GoBackendProcess ][Info ] external: GET /events 200 \"Go-http-client/1.1\" \"\
[21:42:35.935][GoBackendProcess ][Info ] external: GET /forwards/list 200 \"Go-http-client/1.1\" \"\
[21:42:35.937][GoBackendProcess ][Info ] external: GET /cache/state 200 \"Go-http-client/1.1\" \"\
[21:43:37.616][FeedbackWindow ][Info ] Uploading diagnostics...
[21:43:37.617][Diagnostics ][Info ] Uploading diagnostics FC536F7E-E7F5-437E-940C-10A3D084FA01/20200526194235
[21:43:38.713][Diagnostics ][Info ] Uploaded succesfully diagnostics FC536F7E-E7F5-437E-940C-10A3D084FA01/20200526194235
[21:43:42.626][FeedbackWindow ][Info ] Open logs
Following solved the issue:
PS C:\WINDOWS\system32> wsl -l -v
NAME STATE VERSION
* Ubuntu-20.04 Running 2
docker-desktop-test Stopped 2
docker-desktop Installing 2
PS C:\users\jimmy> wsl --unregister docker-desktop
Unregistering...
PS C:\users\jimmy>
Started docker desktop
PS C:\users\jimmy> wsl -l -v
NAME STATE VERSION
* Ubuntu-20.04 Running 2
docker-desktop-test Stopped 2
docker-desktop Running 2
docker-desktop-data Running 2
PS C:\users\jimmy> docker run -dp 80:80 docker/getting-started
Unable to find image 'docker/getting-started:latest' locally
latest: Pulling from docker/getting-started
aad63a933944: Pull complete
b14da7a62044: Pull complete
343784d40d66: Pull complete
6f617e610986: Pull complete
Digest: sha256:d2c4fb0641519ea208f20ab03dc40ec2a5a53fdfbccca90bef14f870158ed577
Status: Downloaded newer image for docker/getting-started:latest
1bb530983ab199c581c5d63117b37e8b8d7468a6f843c45537bb3bbd6f6d5146
OK, thanks, in that case I'm going to close this ticket.
OK, thanks, in that case I'm going to close this ticket.
I think a better error-message would be nice. It took me several days to figure this one out.
@simonferquel anything we can do to provide a better error message?
Yes, we need to handle the case where the distro is stuck in "Installing" phase (just ditch it).
Yes, we need to handle the case where the distro is stuck in "Installing" phase (just ditch it).
I agree. reopen ?
But as a temporary measure the following would have helped:
It is already logged. Let me reopen the issue, I'll add a ticket on our backlog to improve error handling and automatically recover from that case.
Also reinstall didn't help, i think thats unexpected as well, i think your should consider removing the docker-images you installed on uninstall. In that case at least reinstall would have worked.
It is already logged
where ? I can't find or don't understand logfile output.
same here. not able to start docker for desktop. using win 10 Pro (v 2004) with WSL2. during the installation I did not select the checkbox to enable WSL2 backend, still, it seems like it's trying to use WSL2 backend.
also submitted docker diagnostic with id: 96DD888D-3B30-4F40-A5F5-BC139A7300EB/20200629051046
getting the following error during startup:
System.InvalidOperationException: Failed to deploy distro docker-desktop to %localappdata%\Docker\wsl\distro: exit code: -1 stdout: Error: 0xffffffff
stderr:
at Docker.Core.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) in C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Core\WslCommand.cs:line 119
at Docker.Engines.WSL2.WSL2Provisioning.
Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
comment.
Stale issues will be closed after an additional 30 days of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen
comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
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
Diagnostic ID: FC536F7E-E7F5-437E-940C-10A3D084FA01/20200524230248
Any ideas ?
Looked through https://docs.docker.com/docker-for-windows/troubleshoot/ But nothing there helped.
Windows Home Version 2004 (Beta) OS Build 19041.264 Intel i7 K875 CPU, all virtualization enabled in Bios. Also tried Edge, also didn't start.