Hi there
I need help to start docker version 3.4 on windows 10. It fails every time. See computer specs below.
crash report no. A1A70C77-21C1-496F-93C2-8A3B778488AE/20210616211747
I get this error log
System.ArgumentException:
Unable to create an instance of Docker.App: Unable to create an instance of Docker.ApiServices.Update.UpdateCheckTimer: Unable to create an instance of Docker.ApiServices.Update.Updater: Unable to create an instance of Docker.Notifications.BackgroundUpdateWatcher: Exception has been thrown by the target of an invocation.
at Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 89
at Docker.Core.Di.Singletons.Get(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 51
at Docker.Core.Di.Singletons.Get[T]() in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 28
at Docker.Program.Run(IReadOnlyCollection`1 args) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Desktop\Program.cs:line 268
System.ArgumentException:
Unable to create an instance of Docker.ApiServices.Update.UpdateCheckTimer: Unable to create an instance of Docker.ApiServices.Update.Updater: Unable to create an instance of Docker.Notifications.BackgroundUpdateWatcher: Exception has been thrown by the target of an invocation.
at Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 89
at Docker.Core.Di.Singletons.Get(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 51
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 83
System.ArgumentException:
Unable to create an instance of Docker.ApiServices.Update.Updater: Unable to create an instance of Docker.Notifications.BackgroundUpdateWatcher: Exception has been thrown by the target of an invocation.
at Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 89
at Docker.Core.Di.Singletons.Get(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 51
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 83
System.ArgumentException:
Unable to create an instance of Docker.Notifications.BackgroundUpdateWatcher: Exception has been thrown by the target of an invocation.
at Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 93
at Docker.Core.Di.Singletons.Get(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 51
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 83
System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Docker.Core.Di.Singletons.NewInstance(Type type, Int32 depth) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Core\di\Singletons.cs:line 83
System.Runtime.InteropServices.COMException:
Retrieving the COM class factory for component with CLSID {1ECCA34C-E88A-44E3-8D6A-8921BDE9E452} failed due to the following error: 80070422 The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422).
at Docker.Notifications.BackgroundUpdateWatcher..ctor(ISystrayNotifications systray, IUpdateStateNotifier updateStateNotifier) in C:\workspaces\PR-15906\src\github.com\docker\pinata\win\src\Docker.Desktop\Notifications\BackgroundUpdateWatcher.cs:line 12
My computer specs
Windows 10 version 20H2 (OS Build: 19042.1055)
Same problem, with same crash report.
Docker doesnāt start the GUI.
Windows 10 Pro
Docker Desktop Windows 3.4.0
Double click Docker Desktop.exe, wait a bit and then it fails with
āDocker failed to initializeā along with the report described by the OP.
Already tried most of the online fixes for similar errors.
OP if u found a fix please share.
Thanks.
Docker fails to intiailize because BITS (Background Intelligent Transfer Service) isnāt available or disabled. Someone had success by requesting changes to their Group policy in order to make it available. An update is coming that will fix this issue. Follow:
for anyone that has the problem.
I fixed it by
going to %ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\ (use the Win + R, paste and enter)
delete qmgr.dat file (which is probably corrupt)
open a PowerShell/cmd with admin rights
run ānet start bitsā command
run docker and it should work.
At least this worked for me.
Kudos @ziwer1 for pointing me to that open issue and for the info, really appreciate it.
LE: in case your Background Intelligent Transfer Service is not starting, the above might fix your problem.