Docker Community Forums

Share and learn in the Docker community.

Windows 10 docker update CRashes

When i start docker it tells my to update,
when i try to update it crashes.
when i run manualy, i get the following error:

This is the update 1.12.5 => 1.12.6

Can you try to upload a diagnostic and open an issue here: https://github.com/docker/for-win/issues/new

I got it fixed. apparently the issue started on my pc because i made a s link from my windows installer folder to another disk. it didn’t want to uninstall anymore. (didn’t want to uninstall any application anymore)

I removed all references to docker in registry and removed the binaries, then i was able to reinstall new version

Script from an earlier post was very helpfull in this (although i had to some stuff manually because script failed):

'C:\Program Files\Docker\Docker\resources\MobyLinux.ps1' -Destroy
$service = Get-WmiObject -Class Win32_Service -Filter "Name='com.docker.service'"
$service.StopService()
$service.Delete()
Start-Sleep -s 5
Remove-Item -Recurse -Force "~/AppData/Local/Docker"
Remove-Item -Recurse -Force "~/AppData/Roaming/Docker"
takeown.exe /F "C:\ProgramData\Docker" /R /A /D Y
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"
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
Get-ItemProperty -path HKCU:\software\microsoft\windows\currentversion\Run -name "Docker for Windows" | Remove-Item -Recurse -Force