adaraz
(Adaraz)
September 19, 2016, 8:54am
1
Hi, if i’m trying to start docker service, I’m getting error
Docker failed to initialize
Method not found: ‘Void NLog.Targets.FileTarget…ctor(System.String)’.
Docker version 1.13.0-dev, build 76ee0e8
I have no idea where is the problem or where to look.
Thanks for your suggestions.
adaraz
(Adaraz)
September 20, 2016, 8:54am
2
I have added current version of NLog which “Docker for Windows.exe” uses into GAC and it solved the problem.
P.S. In the post, I wrote docker service, but actualy it was “Docker for Windows.exe” who had problem with NLog, docker service itself was OK.
friism
(Michael Friis)
September 20, 2016, 1:39pm
3
Thanks for reporting! Is this using Docker for Windows and trying to start Docker? Or is this running the native Windows Docker engine on Windows? How are you starting the service?
Michael
adaraz
(Adaraz)
September 21, 2016, 8:59am
4
I tryed to run “Docker for Windows.exe” and it caused the error.
Native Windows Docker engine and working with it thru console commands was OK.