docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.87k stars 290 forks source link

err #7172

Closed L1yp closed 4 years ago

L1yp commented 4 years ago

Version: 2.3.1.0 (45408) Channel: edge Sha1: 3a5799e5c9bd10401e24448b8f57356f935d62c7 Started on: 2020/06/11 10:49:49.859 Resources: C:\Program Files\Docker\Docker\resources OS: Windows 10 Pro Edition: Professional Id: 2004 Build: 19645 BuildLabName: 19645.1.amd64fre.mn_release.200605-1502 File: C:\Users\Administrator\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 [10:49:49.961][GUI ][Info ] Starting... [10:49:49.979][ComponentVersions ][Info ] Edition community [10:49:49.982][ComponentVersions ][Info ] Edition community [10:49:50.155][AppMigrator ][Info ] Current version: 6. Latest version: 6 [10:49:50.174][TrackingSettings ][Info ] Crash report and usage statistics are enabled [10:49:50.176][SegmentApi ][Info ] Usage statistic: Identify [10:49:50.293][SegmentApi ][Info ] Usage statistic: appLaunched [10:49:50.482][ApplicationTemplatesTracking][Info ] Cannot list templates [10:49:50.482][SegmentApi ][Info ] Usage statistic: eventTemplatesInfo [10:49:50.490][SegmentApi ][Info ] Usage statistic: heartbeat [10:49:50.539][LoggingMessageHandler][Info ] [f2b29fd1] GET http://backend/version [10:49:50.572][LoggingMessageHandler][Info ] [f2b29fd1] GET http://backend/version -> 200 OK (took 31ms) [10:49:50.636][LoggingMessageHandler][Info ] [841fa15b] GET http://backend/hyperv/vhdx-size?path=C:%5CProgramData%5CDockerDesktop%5Cvm-data%5CDockerDesktop.vhdx [10:49:50.643][LoggingMessageHandler][Info ] [841fa15b] GET http://backend/hyperv/vhdx-size?path=C:%5CProgramData%5CDockerDesktop%5Cvm-data%5CDockerDesktop.vhdx -> 200 OK (took 7ms) [10:49:50.650][LoggingMessageHandler][Info ] [a005767b] POST http://backend/migrate/app [10:49:50.654][LoggingMessageHandler][Info ] [a005767b] POST http://backend/migrate/app -> 204 NoContent (took 4ms) [10:49:50.659][Engines ][Debug ] Starting [10:49:50.674][LoggingMessageHandler][Info ] [7af6159c] POST http://backend/versionpack/enable [10:49:50.708][LoggingMessageHandler][Info ] [7af6159c] POST http://backend/versionpack/enable -> 204 NoContent (took 34ms) [10:49:50.775][GoBackendProcess ][Info ] Starting C:\Program Files\Docker\Docker\resources\com.docker.backend.exe -addr unix:\.\pipe\dockerBackendApiServer [10:49:50.777][GoBackendProcess ][Info ] Started [10:49:50.787][EngineStateMachine][Debug ] sending state Docker.ApiServices.StateMachines.StartTransition to state change sink [10:49:50.788][EngineStateMachine][Debug ] State Docker.ApiServices.StateMachines.StartTransition sent to state change sink [10:49:50.792][EngineStateListener][Debug ] received state Docker.ApiServices.StateMachines.StartTransition from LinuxWSL2 [10:49:50.799][EngineStateNotificationRecorder][Debug ] Registered state {"State":"starting","Mode":"linux","date":1591843790} [10:49:50.800][SystrayNotifications][Info ] Docker is starting [10:49:50.804][LinuxWSL2Engine ][Info ] Terminating lingering processes and wsl distros and patching host file [10:49:50.808][LoggingMessageHandler][Info ] [0095d821] POST http://backend/dns/refresh-hosts [10:49:50.844][LoggingMessageHandler][Info ] [0095d821] POST http://backend/dns/refresh-hosts -> 204 NoContent (took 35ms) [10:49:50.874][WSL2Provisioning ][Info ] Checking docker-desktop [10:49:50.879][WSL2Provisioning ][Info ] deploying WSL distro docker-desktop to C:\Users\Administrator\AppData\Local\Docker\wsl\distro [10:49:51.041][WSL2Provisioning ][Error ] Failed to deploy distro docker-desktop to C:\Users\Administrator\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: stderr: WSL 2 ??????????????????й??????????? https://aka.ms/wsl2kernel [10:49:51.046][LinuxWSL2Engine ][Info ] Stopping windows side processes [10:49:51.100][LinuxWSL2Engine ][Info ] Stopping engine [10:49:51.153][LoggingMessageHandler][Info ] [5e47e099] POST http://backend/windowsfeatures/check [10:49:51.242][LoggingMessageHandler][Info ] [b0026f01] GET http://unix/versions [10:49:51.311][LoggingMessageHandler][Info ] [b0026f01] GET http://unix/versions -> 200 OK (took 69ms) [10:49:51.349][GoBackendProcess ][Info ] 鈬?http server started on \.\pipe\dockerVpnKitControl [10:49:51.350][GoBackendProcess ][Info ] started port-forwarding control server on \\.\pipe\dockerVpnKitControl [10:49:51.351][GoBackendProcess ][Info ] listening on unix:\\.\pipe\dockerVpnkitData for data connection [10:49:51.351][GoBackendProcess ][Info ] enabling filesystem caching [10:49:51.351][GoBackendProcess ][Info ] filesystem exports are: (2) [10:49:51.351][GoBackendProcess ][Info ] volume control server listening on \\.\pipe\dockerVolume [10:49:51.352][GoBackendProcess ][Info ] 鈬?http server started on \.\pipe\dockerBackendApiServerForGuest [10:49:51.352][GoBackendProcess ][Info ] 鈬?http server started on \.\pipe\dockerBackendApiServer [10:49:51.354][GoBackendProcess ][Info ] filesystem server listening on 00000000-0000-0000-0000-000000000000:00001003-facb-11e6-bd58-64006a7986d3 [10:49:51.354][GoBackendProcess ][Info ] file ownership will be determined by the calling user (\"fake owner\" mode) [10:49:51.354][GoBackendProcess ][Info ] using mfsymlinks [10:49:51.439][LoggingMessageHandler][Info ] [5e47e099] POST http://backend/windowsfeatures/check -> 200 OK (took 285ms) [10:49:51.687][LinuxWSL2Engine ][Info ] Terminating lingering processes and wsl distros and patching host file [10:49:51.687][LoggingMessageHandler][Info ] [03961054] POST http://backend/dns/refresh-hosts [10:49:51.717][LoggingMessageHandler][Info ] [03961054] POST http://backend/dns/refresh-hosts -> 204 NoContent (took 30ms) [10:49:51.738][WSL2Provisioning ][Info ] Checking docker-desktop [10:49:51.738][WSL2Provisioning ][Info ] deploying WSL distro docker-desktop to C:\Users\Administrator\AppData\Local\Docker\wsl\distro [10:49:51.890][Updater ][Info ] Check for update process exited with 4294967295 [10:49:51.908][WSL2Provisioning ][Error ] Failed to deploy distro docker-desktop to C:\Users\Administrator\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: stderr: WSL 2 ??????????????????й??????????? https://aka.ms/wsl2kernel [10:49:51.908][LinuxWSL2Engine ][Info ] Stopping windows side processes [10:49:51.951][LinuxWSL2Engine ][Info ] Stopping engine [10:49:51.988][EngineStateMachine][Debug ] sending state Docker.ApiServices.StateMachines.FailedToStartState to state change sink [10:49:51.988][EngineStateMachine][Debug ] State Docker.ApiServices.StateMachines.FailedToStartState sent to state change sink [10:49:51.988][EngineStateListener][Debug ] received state Docker.ApiServices.StateMachines.FailedToStartState from LinuxWSL2 [10:49:51.989][EngineStateNotificationRecorder][Debug ] Registered state {"State":"failed to start","Mode":"linux","date":1591843791} [10:49:51.995][SystrayNotifications][Error ] System.InvalidOperationException: Failed to deploy distro docker-desktop to C:\Users\Administrator\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: stderr: WSL 2 ??????????????????й??????????? https://aka.ms/wsl2kernel

在 Docker.Core.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Core\WslCommand.cs:行号 119 在 Docker.Engines.WSL2.WSL2Provisioning.d16.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:行号 142 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.Engines.WSL2.WSL2Provisioning.d6.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:行号 44 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.Engines.WSL2.LinuxWSL2Engine.d23.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\LinuxWSL2Engine.cs:行号 91 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.ApiServices.StateMachines.TaskExtensions.d0.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\TaskExtensions.cs:行号 29 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.ApiServices.StateMachines.StartTransition.d5.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:行号 67 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 Docker.ApiServices.StateMachines.StartTransition.d5.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:行号 92 [10:49:52.007][GUI ][Info ] Sending Bugsnag report b3e11338-8810-4f3f-95b2-43231991753d... [10:49:52.089][GUI ][Info ] Bugsnag report b3e11338-8810-4f3f-95b2-43231991753d sent [10:49:52.089][SegmentApi ][Info ] Usage statistic: eventCrash [10:49:52.092][Diagnostics ][Warning] Starting to gather diagnostics as User : 'C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe' gather. [10:49:52.151][GoBackendProcess ][Info ] external: GET /events 200 \"Go-http-client/1.1\" \"\ [10:49:52.152][GoBackendProcess ][Info ] external: GET /forwards/list 200 \"Go-http-client/1.1\" \"\ [10:49:52.153][GoBackendProcess ][Info ] external: GET /cache/state 200 \"Go-http-client/1.1\" \"\ [10:49:52.186][Engines ][Error ] Start failed with Failed to deploy distro docker-desktop to C:\Users\Administrator\AppData\Local\Docker\wsl\distro: exit code: -1 stdout: stderr: WSL 2 ??????????????????й??????????? https://aka.ms/wsl2kernel

在 Docker.Core.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Core\WslCommand.cs:行号 119 在 Docker.Engines.WSL2.WSL2Provisioning.d16.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:行号 142 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.Engines.WSL2.WSL2Provisioning.d6.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\WSL2Provisioning.cs:行号 44 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.Engines.WSL2.LinuxWSL2Engine.d23.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\LinuxWSL2Engine.cs:行号 91 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.ApiServices.StateMachines.TaskExtensions.d0.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\TaskExtensions.cs:行号 29 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.ApiServices.StateMachines.StartTransition.d5.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:行号 67 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 Docker.ApiServices.StateMachines.StartTransition.d5.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\StartTransition.cs:行号 92 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.ApiServices.StateMachines.EngineStateMachine.d14.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.ApiServices\StateMachines\EngineStateMachine.cs:行号 72 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Docker.Engines.Engines.d23.MoveNext() 位置 C:\workspaces\master\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\Engines.cs:行号 106) [10:49:55.478][ErrorReportWindow ][Info ] Open logs

metcalfc commented 4 years ago

This is a known issue for this release. It is a rough edge that for new installs of WSL2 won't be present. Microsoft wanted to separate the Linux portion into its own MSI so they can update it outside of the Windows OS patch cycle. So for this release (and hopefully this release only) you have to install the MSI separately. Effectively the Windows update removed it. Then you reinstall it via the MSI so it can be managed separately.

You can download the new WSL2 kernel MSI and reinstall it from https://aka.ms/wsl2kernel and Docker should restart without error.

docker-robott commented 4 years ago

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

docker-robott commented 4 years ago

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