Docker Community Forums

Share and learn in the Docker community.

Docker nos starting error "An item with the same key has already been added."


(Mamudragon) #1

Docker build details on my laptop win10pro64bit

Version 18.02.0-ce-rc2-win51 (15631)
Channel: edge
4713a50

Docker startup error

" An item with the same key has already been added.
at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:line 36
at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 75
at Docker.Actions.<>c__DisplayClass16_0.b__0() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 61
at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59 "

Error from logs

[11:31:55.666][VpnKit ][Info ] vpnkit.exe: Starting diagnostics server on: \.\pipe\dockerVpnKitDiagnostics

[11:31:55.947][VpnKit ][Info ] vpnkit.exe: BOOTREQUEST from 02:50:00:00:00:01

[11:31:55.947][VpnKit ][Info ] vpnkit.exe: BOOTREPLY to 02:50:00:00:00:01 yiddr 192.168.65.3 siddr 192.168.65.1 dns 192.168.65.1 router 192.168.65.1 domain domain.name

[11:31:56.228][Moby ][Info ] e[34mINFOe[0m[0009] shim containerd-shim started e[34maddresse[0m="/containerd-shim/services.linuxkit/vsudd/shim.sock" e[34mdebuge[0m=false e[34mmodulee[0m=“containerd/tasks” e[34mpide[0m=2075
[11:31:56.760][Linux ][Info ] Vsudd is reachable!
[11:31:56.791][NamedPipeServer][Error ] Unable to execute Start: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Docker.Backend.Processes.ApiProxy.GetEnvVars() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\Processes\ApiProxy.cs:line 56
at Docker.Backend.Processes.ApiProxy.StartWithVm(Settings settings, String vmId) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\Processes\ApiProxy.cs:line 68
at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 252
at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 112
[11:31:56.806][NamedPipeClient][Error ] Unable to send Start: An item with the same key has already been added.
[11:31:56.822][Notifications ][Error ] An item with the same key has already been added.
[11:31:56.869][CrashReport ][Info ] Preparing package to send with the diagnostics
[11:31:56.885][NamedPipeClient][Info ] Sending Version()…
[11:31:56.885][NamedPipeClient][Info ] Sending Version()…
[11:31:56.885][NamedPipeClient][Info ] Sending Version()…
[11:31:56.885][NamedPipeClient][Info ] Sending Version()…
[11:31:56.885][NamedPipeClient][Info ] Received response for Version
[11:31:56.885][NamedPipeClient][Info ] Received response for Version

=====================


(Interpeix) #2

I have the same problem, Dis you find any solution?


(Dazinator) #3

I also have the same issue…


(Kozaczynski) #4

I have the same issue after update to 18.03.0-ce-win59. Uninstalling and installing Docker again does not help.The error window gives an option to “Reset to factory defaults”, but it also does not fix the issue.
Anybody knows what is going and/or how to get around it?