Error when starting docker service on Windows 10 -
i had problems in hyper-v on windows 10. seems resolved now, when try start docker service following error:
service cannot started. system.typeloadexception: not load type 'docker.backend.itimeintegrationservice' assembly 'docker.backend, version=1.12.5.9503, culture=neutral, publickeytoken=null'.
@ docker.service.dockerservice.dorun()
@ system.serviceprocess.servicebase.servicequeuedmaincallback(object state)
as per other blogs i've found, have uninstalled docker, removed c:\programdata\docker , restarted pc number of times. when reinstall still same error.
any ideas on how repair this?
finally found on docker forum:
'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 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 windows" | remove-item -recurse -force
so did uninstall using docker installer, ran above powershell script, did restart , reinstalled docker , seems working.
Comments
Post a Comment