docker / for-win

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

Docker Install hangs, abort manually and Error Popup comes again and again #4388

Closed ThorstenSeddig closed 5 years ago

ThorstenSeddig commented 5 years ago

Expected behavior

Actual behavior

Information

Steps to reproduce the behavior

  1. ...
  2. ...
mikeparker commented 5 years ago

Which version? which windows version? are you installing or upgrading? Whats the error popup?

ThorstenSeddig commented 5 years ago

Hello Mr. Parker,

My Windows Version is: Microsoft Windows 10 Enterprise Version 10.0.17763 Build 17763

I have installed Docker new - wo times. After the first time, windows autostart didn't work and i have tried to remove it from Windows, by special script:

kill -force -processname 'Docker for Windows', com.docker.db, com.docker.slirp, com.docker.proxy, com.docker.9pdb, moby-diag-dl, dockerd kill -force -processname com.docker.service

try { pushd "C:\Program Files\Docker\Docker\Resources" ./MobyLinux.ps1 -Destroy popd } Catch {}

popd

$service = Get-WmiObject -Class Win32Service -Filter "Name='com.docker.service'" if ($service) { $service.StopService() } if ($service) { $service.Delete() } Start-Sleep -s 5 Remove-Item -Recurse -Force "~/AppData/Local/Docker" Remove-Item -Recurse -Force "~/AppData/Roaming/Docker" if (Test-Path "C:\ProgramData\Docker") { takeown.exe /F "C:\ProgramData\Docker" /R /A /D Y } if (Test-Path "C:\ProgramData\Docker") { icacls "C:\ProgramData\Docker\" /T /C /grant Administrators:F } Remove-Item -Recurse -Force "C:\ProgramData\Docker" Remove-Item -Recurse -Force "C:\Program Files\Docker" Remove-Item -Recurse -Force "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Docker" Remove-Item -Force "C:\Users\Public\Desktop\Docker for Windows.lnk" Remove-Item -Recurse -Force "~.docker" Remove-Item -Recurse -Force "~\DockerSwarm" Get-ChildItem HKLM:\software\microsoft\windows\currentversion\uninstall | ForEach-Object {Get-ItemProperty $.pspath} | Where-Object { $.DisplayName -eq "Docker" } | Remove-Item -Recurse -Force Get-ChildItem HKLM:\software\classes\installer\products | ForEach-Object {Get-ItemProperty $.pspath} | Where-Object { $_.ProductName -eq "Docker" } | Remove-Item -Recurse -Force Get-Item 'HKLM:\software\Docker Inc.' | Remove-Item -Recurse -Force

TODO Figure out how to do these properly!

Get-ItemProperty HKCU:\software\microsoft\windows\currentversion\Run

-name "Docker for Windows" | Remove-Item -Recurse -Force

Get-ItemProperty HKCU:\software\microsoft\windows\currentversion\UFH\SHC

| ForEach-Object {Get-ItemProperty $.PSPath} | Where-Object { $.ToString().Contains("Docker for Windows.exe") } | Remove-Item -Recurse -Force

Remove env variables used by docker-machine

Get-Item Env:\COMPOSE_CONVERT_WINDOWSPATHS | Remove-Item Get-Item Env:\DOCKER* | Remove-Item # DOCKER_CERT_PATH, DOCKER_HOST, DOCKER_MACHINE_NAME, DOCKER_TLS_VERIFY

The second time after installation autostart worked and I got the following error messages:

Backend service is not installed bei Docker.WPF.BackendClient.CheckService(String action) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\BackendClient.cs:Zeile 291. bei Docker.WPF.BackendClient.SendMessage(String action, Object[] parameters) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\BackendClient.cs:Zeile 167. bei Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:Zeile 59.

Backend service is not installed bei Docker.WPF.BackendClient.CheckService(String action) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\BackendClient.cs:Zeile 291. bei Docker.WPF.BackendClient.SendMessage(String action, Object[] parameters) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\BackendClient.cs:Zeile 167. bei Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:Zeile 90. bei Docker.Actions.<>cDisplayClass19_0.b0() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:Zeile 74. bei Docker.WPF.TaskQueue.<>cDisplayClass19_0.<.ctor>b1() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:Zeile 59.

Mit freundlichen Grüßen / Best regards

Thorsten Seddig Software Engineer


SICK AG | Erwin-Sick-Str. 1 | 79183 Waldkirch | Germany Phone +49 7681 202-3964 | thorsten.seddig@sick.de |
http://www.sick.de

Von: "Mike Parker" notifications@github.com An: "docker/for-win" for-win@noreply.github.com Kopie: "ThorstenSeddig" thorsten.seddig@sick.de, "Author" author@noreply.github.com Datum: 02.08.2019 14:01 Betreff: Re: [docker/for-win] Docker Install hangs, abort manually and Error Popup comes again and again (#4388)

Which version? which windows version? are you installing or upgrading? Whats the error popup? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.


SICK AG | Sitz: Waldkirch i. Br. | Handelsregister: Freiburg i. Br. HRB 280355 Vorstand: Dr. Robert Bauer (Vorsitzender) | Reinhard Bösl | Dr. Mats Gökstorp | Dr. Martin Krämer | Markus Vatter Aufsichtsrat: Gisela Sick (Ehrenvorsitzende) | Klaus M. Bukenberger (Vorsitzender)

docker-robott commented 5 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d 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