for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Unable to remove from the database. Exit code: 1

Open riveryc opened this issue 10 years ago • 28 comments

Expected behavior

Start Docker after default installation, Docker icon shouldnot be red with error message box

Actual behavior

An error window is showing with: "An Error Occured" Unable to remove from the database. Exit code: 1 at Docker.Core.Pipe.NamedPipeClient.TrySend(String action, Object[] parameters) at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) at Docker.Core.Backend.BackendClient.Start(Settings settings) at Docker.Actions.DoStart(Settings settings, Boolean showWelcomeWindow) at Docker.Core.TaskQueue.<.ctor>b__16_0()

Information

  • Diagnostic ID from "Diagnose & Feedback" in the menu. 08647C6E-0023-4479-80E3-E92D30949DBF/2016-08-03_22-08-36
  • a reproducible case if this is a bug, Dockerfiles FTW Just start "Docker for Windows"
  • page URL if this is a docs issue or the name of a man page
  • host distribution and version (Windows version, build number, etc) Windows Version: Windows 10 Pro Build 10586. PSVersion 5.0.10586.494

Steps to reproduce the behavior

  1. Fresh install Docker for Windows
  2. Run it right after installation

Log

[22:07:49.330][Program ][Info ] Version: 1.12.0-stable [22:07:49.345][Program ][Info ] Starting on: 8/3/2016 10:07:49 PM [22:07:49.345][Program ][Info ] Resources: C:\Program Files\Docker\Docker\Resources [22:07:49.345][Program ][Info ] OS: Windows 10 Pro [22:07:49.345][Program ][Info ] Edition: Professional [22:07:49.361][Program ][Info ] Id: 1511 [22:07:49.361][Program ][Info ] Build: 10586 [22:07:49.361][Program ][Info ] BuildLabName: 10586.494.amd64fre.th2_release_sec.160630-1736 [22:07:49.361][Program ][Info ] Sha1: 9cd1dc28d3ac81cb5177ff9728f65200304b36f6 [22:07:49.361][Program ][Info ] You can send feedback, including this log file, at https://github.com/docker/for-win/issues [22:07:49.630][TrackingStatus ][Info ] Crash report and usage statistics are enabled [22:07:49.646][Mixpanel ][Info ] Id: 08647C6E-0023-4479-80E3-E92D30949DBF [22:07:49.677][Mixpanel ][Info ] Usage Statistic: appLaunched [22:07:50.296][NamedPipeClient][Info ] Sending Version()... [22:07:50.308][NamedPipeClient][Info ] Received response for Version [22:07:50.312][Mixpanel ][Info ] Usage Statistic: heartbeat [22:07:45.352][BackendServer ][Info ] Started [22:07:50.302][NamedPipeServer][Info ] Version() [22:07:50.305][NamedPipeServer][Info ] Version done. [22:07:50.774][Notifications ][Info ] Docker is starting... [22:07:50.775][Updater ][Info ] Checking for updates on channel Stable... [22:07:50.789][NamedPipeClient][Info ] Sending Stop()... [22:07:50.793][NamedPipeServer][Info ] Stop() [22:07:50.796][HyperV ][Info ] Stop [22:07:50.803][PowerShell ][Info ] Run script with parameters: -Stop True... [22:07:52.134][Updater ][Info ] Local build 5968 is as good as the remote 5968 on channel Stable [22:07:53.079][HyperV ][Info ] VM MobyLinuxVM does not exist [22:07:53.090][NamedPipeClient][Info ] Received response for Stop [22:07:53.087][NamedPipeServer][Info ] Stop done. [22:07:53.093][NamedPipeClient][Info ] Sending Start(Docker.Core.Settings)... [22:07:53.099][NamedPipeServer][Info ] Start(Docker.Core.Settings) [22:07:53.102][HyperVGuids ][Info ] Installing GUIDs... [22:07:53.105][HyperVGuids ][Info ] GUIDs installed [22:07:53.110][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe... [22:07:53.707][Firewall ][Info ] Ports are opened [22:07:53.711][HyperV ][Info ] Create [22:07:53.714][PowerShell ][Info ] Run script with parameters: -Create True -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso... [22:07:54.303][HyperV ][Info ] Enabled workaround for Build 10586 VMSwitch issue [22:07:57.036][HyperV ][Info ] Creating Switch: DockerNAT... [22:07:57.938][HyperV ][Info ] VMSwitch (Name = 'DockerNAT') [Id = 'c64d4856-87cf-458d-b640-6cf592e21510'] [22:07:58.069][HyperV ][Info ] Switch created. [22:07:58.524][HyperV ][Info ] Set IP address on switch [22:07:59.771][HyperV ][Info ] Creating dynamic VHD: C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx [22:08:00.843][HyperV ][Info ] Creating VM MobyLinuxVM... [22:08:02.740][HyperV ][Info ] VM created. [22:08:02.747][DataKit ][Info ] Starting... [22:08:02.751][PowerShell ][Info ] Run script... [22:08:02.799][DataKit ][Info ] Started [22:08:02.799][VpnKit ][Info ] Starting... [22:08:02.799][PowerShell ][Info ] Run script... [22:08:02.831][VpnKit ][Info ] Started [22:08:02.831][ApiProxy ][Info ] Starting... [22:08:02.831][DataKit ][Info ] [22:08:02.831][DataKit ][Info ] +6248us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:02.831][PowerShell ][Info ] Run script... [22:08:02.846][VpnKit ][Info ] com.docker.slirp.exe: Logging to stdout (stdout:true DEBUG:false) [22:08:02.862][VpnKit ][Info ] com.docker.slirp.exe: Setting handler to ignore all SIGPIPE signals [22:08:02.862][VpnKit ][Info ] com.docker.slirp.exe: vpnkit version %VERSION% with hostnet version local %HOSTNET_PINNED% uwt version 0.0.3 hvsock version 0.10.0 %HVSOCK_PINNED% [22:08:02.862][VpnKit ][Info ] com.docker.slirp.exe: starting port_forwarding port_control_url:hyperv-connect://b5bfc827-7d55-49de-8a3c-1803d284ef65 max_connections:None vsock_path: [22:08:02.862][VpnKit ][Info ] com.docker.slirp.exe: connecting to b5bfc827-7d55-49de-8a3c-1803d284ef65:0B95756A-9985-48AD-9470-78E060895BE7 [22:08:02.862][ApiProxy ][Info ] Started [22:08:02.877][VpnKit ][Debug ] com.docker.slirp.exe: Waiting for connections on socket hyperv-connect://b5bfc827-7d55-49de-8a3c-1803d284ef65 [22:08:02.877][VpnKit ][Warning] com.docker.slirp.exe: no database: using hardcoded network configuration values [22:08:02.877][VpnKit ][Info ] com.docker.slirp.exe: connecting to b5bfc827-7d55-49de-8a3c-1803d284ef65:30D48B34-7D27-4B0B-AAAF-BBBED334DD59 [22:08:02.877][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/exclude [22:08:02.900][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/http [22:08:02.900][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/https [22:08:02.896][VpnKit ][Debug ] com.docker.slirp.exe: Waiting for connections on socket hyperv-connect://b5bfc827-7d55-49de-8a3c-1803d284ef65 [22:08:02.900][ApiProxy ][Info ] docker proxy (on deprecated port): ready [22:08:02.900][ApiProxy ][Info ] dns server: ready [22:08:02.919][ApiProxy ][Info ] docker proxy: ready [22:08:02.971][DataKit ][Info ] Restarting... [22:08:03.179][PowerShell ][Info ] Run script... [22:08:03.196][DataKit ][Info ] Restarted [22:08:03.218][DataKit ][Info ] [22:08:03.222][DataKit ][Info ] +3934us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:03.315][DataKit ][Info ] Restarting... [22:08:03.520][PowerShell ][Info ] Run script... [22:08:03.536][DataKit ][Info ] Restarted [22:08:03.561][DataKit ][Info ] [22:08:03.564][DataKit ][Info ] +5888us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:03.654][DataKit ][Info ] Restarting... [22:08:03.859][PowerShell ][Info ] Run script... [22:08:04.138][Database ][Error ] 2016/08/03 22:08:02 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:03 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:03 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:03 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:03 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:03 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:03 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:03 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:03 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:03 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:03 Failed to contact the database on .\pipe\dockerDataBase: open .\pipe\dockerDataBase: The system cannot find the file specified.

[22:08:04.141][Database ][Error ] Unable to write to the database: Unable to remove from the database. Exit code: 1. Let's retry in 1s [22:08:04.149][DataKit ][Info ] Restarted [22:08:04.171][DataKit ][Info ] [22:08:04.175][DataKit ][Info ] +3875us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:04.265][DataKit ][Info ] Restarting... [22:08:04.471][PowerShell ][Info ] Run script... [22:08:04.487][DataKit ][Info ] Restarted [22:08:04.509][DataKit ][Info ] [22:08:04.513][DataKit ][Info ] +3927us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:04.610][DataKit ][Info ] Restarting... [22:08:04.814][PowerShell ][Info ] Run script... [22:08:04.832][DataKit ][Info ] Restarted [22:08:04.853][DataKit ][Info ] [22:08:04.857][DataKit ][Info ] +3895us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:04.962][DataKit ][Info ] Restarting... [22:08:05.145][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/exclude [22:08:05.148][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/http [22:08:05.151][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/https [22:08:05.197][PowerShell ][Info ] Run script... [22:08:06.379][Database ][Error ] 2016/08/03 22:08:05 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:05 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:05 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:05 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:05 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:05 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:05 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:05 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:05 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:06 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:06 Failed to contact the database on .\pipe\dockerDataBase: open .\pipe\dockerDataBase: The system cannot find the file specified.

[22:08:06.383][Database ][Error ] Unable to write to the database: Unable to remove from the database. Exit code: 1. Let's retry in 1s [22:08:06.393][DataKit ][Info ] Restarted [22:08:06.417][DataKit ][Info ] [22:08:06.420][DataKit ][Info ] +4220us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:06.512][DataKit ][Info ] Restarting... [22:08:06.720][PowerShell ][Info ] Run script... [22:08:06.737][DataKit ][Info ] Restarted [22:08:06.759][DataKit ][Info ] [22:08:06.763][DataKit ][Info ] +3976us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:06.867][DataKit ][Info ] Restarting... [22:08:07.073][PowerShell ][Info ] Run script... [22:08:07.091][DataKit ][Info ] Restarted [22:08:07.116][DataKit ][Info ] [22:08:07.119][DataKit ][Info ] +4314us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:07.220][DataKit ][Info ] Restarting... [22:08:07.387][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/exclude [22:08:07.391][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/http [22:08:07.394][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/https [22:08:07.425][PowerShell ][Info ] Run script... [22:08:08.620][Database ][Error ] 2016/08/03 22:08:07 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:07 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:07 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:07 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:07 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:07 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:08 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:08 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:08 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:08 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:08 Failed to contact the database on .\pipe\dockerDataBase: open .\pipe\dockerDataBase: The system cannot find the file specified.

[22:08:08.624][Database ][Error ] Unable to write to the database: Unable to remove from the database. Exit code: 1. Let's retry in 1s [22:08:08.639][DataKit ][Info ] Restarted [22:08:08.663][DataKit ][Info ] [22:08:08.667][DataKit ][Info ] +4211us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:08.690][DataKit ][Info ] Restarting... [22:08:08.895][PowerShell ][Info ] Run script... [22:08:08.912][DataKit ][Info ] Restarted [22:08:08.935][DataKit ][Info ] [22:08:08.938][DataKit ][Info ] +3903us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:09.035][DataKit ][Info ] Restarting... [22:08:09.241][PowerShell ][Info ] Run script... [22:08:09.258][DataKit ][Info ] Restarted [22:08:09.281][DataKit ][Info ] [22:08:09.284][DataKit ][Info ] +4084us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:09.373][DataKit ][Info ] Restarting... [22:08:09.579][PowerShell ][Info ] Run script... [22:08:09.595][DataKit ][Info ] Restarted [22:08:09.620][DataKit ][Info ] [22:08:09.624][DataKit ][Info ] +5583us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:09.629][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/exclude [22:08:09.632][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/http [22:08:09.637][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/https [22:08:09.719][DataKit ][Info ] Restarting... [22:08:09.924][PowerShell ][Info ] Run script... [22:08:10.472][DataKit ][Info ] Restarted [22:08:10.494][DataKit ][Info ] [22:08:10.498][DataKit ][Info ] +3949us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:10.588][DataKit ][Info ] Restarting... [22:08:10.795][PowerShell ][Info ] Run script... [22:08:10.825][DataKit ][Info ] Restarted [22:08:10.851][DataKit ][Info ] [22:08:10.854][DataKit ][Info ] +4322us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:10.863][Database ][Error ] 2016/08/03 22:08:09 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:09 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:09 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:09 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:10 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:10 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:10 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:10 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:10 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:10 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:10 Failed to contact the database on .\pipe\dockerDataBase: open .\pipe\dockerDataBase: The system cannot find the file specified.

[22:08:10.866][Database ][Error ] Unable to write to the database: Unable to remove from the database. Exit code: 1. Let's retry in 1s [22:08:10.943][DataKit ][Info ] Restarting... [22:08:11.148][PowerShell ][Info ] Run script... [22:08:11.165][DataKit ][Info ] Restarted [22:08:11.188][DataKit ][Info ] [22:08:11.191][DataKit ][Info ] +3940us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:11.279][DataKit ][Info ] Restarting... [22:08:11.488][PowerShell ][Info ] Run script... [22:08:11.523][DataKit ][Info ] Restarted [22:08:11.570][DataKit ][Info ] [22:08:11.576][DataKit ][Info ] +8158us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:11.681][DataKit ][Info ] Restarting... [22:08:11.870][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/exclude [22:08:11.876][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/http [22:08:11.882][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/https [22:08:11.887][PowerShell ][Info ] Run script... [22:08:11.912][DataKit ][Info ] Restarted [22:08:11.936][DataKit ][Info ] [22:08:11.939][DataKit ][Info ] +4399us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:12.030][DataKit ][Info ] Restarting... [22:08:12.236][PowerShell ][Info ] Run script... [22:08:12.269][DataKit ][Info ] Restarted [22:08:12.313][DataKit ][Info ] [22:08:12.320][DataKit ][Info ] +7992us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:12.424][DataKit ][Info ] Restarting... [22:08:12.630][PowerShell ][Info ] Run script... [22:08:12.663][DataKit ][Info ] Restarted [22:08:12.699][DataKit ][Info ] [22:08:12.704][DataKit ][Info ] +5305us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:12.794][DataKit ][Info ] Restarting... [22:08:12.999][PowerShell ][Info ] Run script... [22:08:13.019][DataKit ][Info ] Restarted [22:08:13.043][DataKit ][Info ] [22:08:13.047][DataKit ][Info ] +4130us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:13.070][DataKit ][Info ] Restarting... [22:08:13.120][Database ][Error ] 2016/08/03 22:08:11 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:12 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:12 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:12 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:12 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:12 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:12 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:12 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:12 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:12 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/03 22:08:12 Failed to contact the database on .\pipe\dockerDataBase: open .\pipe\dockerDataBase: The system cannot find the file specified.

[22:08:13.126][NamedPipeServer][Error ] Unable to execute Start: Unable to remove from the database. Exit code: 1 at Docker.Backend.Database.RemoveKeys(String[] keys) at Docker.Backend.Database.TryWrite(Settings settings) at Docker.Backend.Database.Write(Settings settings) at Docker.Backend.Backend.Start(Settings settings) at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass7_0.b__0(Object[] parameters) at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) [22:08:13.137][NamedPipeClient][Error ] Unable to send Start: Unable to remove from the database. Exit code: 1 [22:08:13.144][NamedPipeClient][Info ] Sending CheckInstallation()... [22:08:13.149][NamedPipeServer][Info ] CheckInstallation() [22:08:13.156][HyperV ][Info ] Check Hyper-V Windows optional feature [22:08:13.162][PowerShell ][Info ] Run script... [22:08:13.276][PowerShell ][Info ] Run script... [22:08:13.867][HyperV ][Info ] Hyper-V Windows feature is enabled [22:08:13.879][NamedPipeClient][Info ] Received response for CheckInstallation [22:08:13.872][NamedPipeServer][Info ] CheckInstallation done. [22:08:13.885][NamedPipeClient][Info ] Sending CheckHyperVState()... [22:08:13.889][DataKit ][Info ] Restarted [22:08:13.894][NamedPipeServer][Info ] CheckHyperVState() [22:08:13.899][HyperV ][Info ] Check Hyper-V State [22:08:13.905][PowerShell ][Info ] Run script with parameters: -Check True... [22:08:13.915][DataKit ][Info ] [22:08:13.922][DataKit ][Info ] +5518us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:14.021][DataKit ][Info ] Restarting... [22:08:14.228][PowerShell ][Info ] Run script... [22:08:14.468][HyperV ][Info ] Hyper-V is running [22:08:14.479][NamedPipeClient][Info ] Received response for CheckHyperVState [22:08:14.474][NamedPipeServer][Info ] CheckHyperVState done. [22:08:14.486][Notifications ][Error ] Unable to remove from the database. Exit code: 1 [22:08:14.483][DataKit ][Info ] Restarted [22:08:14.507][DataKit ][Info ] [22:08:14.515][DataKit ][Info ] +4291us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:14.622][DataKit ][Info ] Restarting... [22:08:14.829][PowerShell ][Info ] Run script... [22:08:14.848][DataKit ][Info ] Restarted [22:08:14.872][DataKit ][Info ] [22:08:14.878][DataKit ][Info ] +4009us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:14.971][DataKit ][Info ] Restarting... [22:08:15.177][PowerShell ][Info ] Run script... [22:08:15.195][DataKit ][Info ] Restarted [22:08:15.216][DataKit ][Info ] [22:08:15.221][DataKit ][Info ] +3883us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:15.309][DataKit ][Info ] Restarting... [22:08:15.516][PowerShell ][Info ] Run script... [22:08:15.551][DataKit ][Info ] Restarted [22:08:15.593][DataKit ][Info ] [22:08:15.600][DataKit ][Info ] +5059us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:15.595][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception: [22:08:15.610][DataKit ][Info ] Unix.Unix_error(40, "select", "") [22:08:15.615][DataKit ][Info ]
[22:08:15.802][DataKit ][Info ] Restarting... [22:08:16.018][PowerShell ][Info ] Run script... [22:08:16.053][DataKit ][Info ] Restarted [22:08:16.087][DataKit ][Info ] [22:08:16.093][DataKit ][Info ] +5068us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:16.195][DataKit ][Info ] Restarting... [22:08:16.402][PowerShell ][Info ] Run script... [22:08:16.424][DataKit ][Info ] Restarted [22:08:16.450][DataKit ][Info ] [22:08:16.455][DataKit ][Info ] +4676us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:16.476][DataKit ][Info ] Restarting... [22:08:16.683][PowerShell ][Info ] Run script... [22:08:16.718][DataKit ][Info ] Restarted [22:08:16.748][DataKit ][Info ] [22:08:16.753][DataKit ][Info ] +4404us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:16.844][DataKit ][Info ] Restarting... [22:08:17.050][PowerShell ][Info ] Run script... [22:08:17.076][DataKit ][Info ] Restarted [22:08:17.100][DataKit ][Info ] [22:08:17.104][DataKit ][Info ] +3902us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:17.215][DataKit ][Info ] Restarting... [22:08:17.422][PowerShell ][Info ] Run script... [22:08:17.453][DataKit ][Info ] Restarted [22:08:17.482][DataKit ][Info ] [22:08:17.486][DataKit ][Info ] +5021us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:17.585][DataKit ][Info ] Restarting... [22:08:17.800][PowerShell ][Info ] Run script... [22:08:17.825][DataKit ][Info ] Restarted [22:08:17.851][DataKit ][Info ] [22:08:17.854][DataKit ][Info ] +3849us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:17.943][DataKit ][Info ] Restarting... [22:08:18.148][PowerShell ][Info ] Run script... [22:08:18.181][DataKit ][Info ] Restarted [22:08:18.216][DataKit ][Info ] [22:08:18.220][DataKit ][Info ] +4828us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:18.308][DataKit ][Info ] Restarting... [22:08:18.514][PowerShell ][Info ] Run script... [22:08:18.546][DataKit ][Info ] Restarted [22:08:18.577][DataKit ][Info ] [22:08:18.581][DataKit ][Info ] +4627us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:18.672][DataKit ][Info ] Restarting... [22:08:18.877][PowerShell ][Info ] Run script... [22:08:18.912][DataKit ][Info ] Restarted [22:08:18.956][DataKit ][Info ] [22:08:18.963][DataKit ][Info ] +7966us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:19.076][DataKit ][Info ] Restarting... [22:08:19.282][PowerShell ][Info ] Run script... [22:08:19.304][DataKit ][Info ] Restarted [22:08:19.332][DataKit ][Info ] [22:08:19.336][DataKit ][Info ] +5143us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:19.423][DataKit ][Info ] Restarting... [22:08:19.633][PowerShell ][Info ] Run script... [22:08:19.665][DataKit ][Info ] Restarted [22:08:19.693][DataKit ][Info ] [22:08:19.697][DataKit ][Info ] +4680us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:19.787][DataKit ][Info ] Restarting... [22:08:19.992][PowerShell ][Info ] Run script... [22:08:20.009][DataKit ][Info ] Restarted [22:08:20.031][DataKit ][Info ] [22:08:20.034][DataKit ][Info ] +3964us Datakit Starting com.docker.db.exe 16bb469 ... [22:08:20.121][DataKit ][Info ] Restarting... [22:08:20.229][ErrorReportWindow][Info ] Open logs

riveryc avatar Aug 03 '16 12:08 riveryc

Docker version: 1.12.0-stable (build: 5968) 9cd1dc2

Thanks River

riveryc avatar Aug 03 '16 12:08 riveryc

Also, I can see the VM in Hyper-V Manager "MobyLinuxVM"'s status is off. it hasn't been started yet. I'm using Microsoft Live account as login to my windows 10 pro. I tried run "Docker for Windows" as Administrator, it doesn't help neither, same error message.

I also tried to manually started that VM in Hyper-V Manager, and then start the "Docker for Windows", looks like the "Docker for Windows" service shut down that VM, then same error message showing up.

Thanks River

riveryc avatar Aug 03 '16 12:08 riveryc

@samoht Any idea why the database fails to start? What can we do to better diagnose?

dgageot avatar Aug 03 '16 13:08 dgageot

Check in windows Events Log, on the root of the left pane, click create new filter (from the right pane), then check "from source" and then in the dropdown menu check "Hyper-V Hypervisor".

Im getting the following warnings from Hyper V :

"Hypervisor launch has been disabled through the hypervisorlaunchtype bcdedit setting."

but if i check the bcdedit /enum (with admin privileges) and i've got the following result for hypervisorlaunchtype

hypervisorlaunchtype Auto

I don't know who are stopping the hypervisorlaunchtype, this messages warning are generated before that i install a fresh docker 1.12 version

figui avatar Aug 03 '16 23:08 figui

Also, i found in my registry this key "\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Control\SystemStartOptions" with this value "NOEXECUTE=OPTIN HYPERVISORLAUNCHTYPE=OFF USEPLATFORMCLOCK" and if i edit and restart windows, the value will appear again.

So, for fix that, i ran bcdedit /set hypervisorlaunchtype auto and then restart windows 10 in safe mode from the recovery menu, and select the "Enable boot logging" options, then i can check in the regitry will appear "\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Control\SystemStartOptions" with this value "NOEXECUTE=OPTIN HYPERVISORLAUNCHTYPE=AUTO USEPLATFORMCLOCK" and docker boots fine

Hope this help

figui avatar Aug 04 '16 00:08 figui

Thanks for that @figui . I just checked on my PC (Win10), it has default value as for that Key you mentioned: FLIGHTSIGNING NOEXECUTE=OPTIN HYPERVISORLAUNCHTYPE=AUTO

but, still the same issue happening. Not too sure if this is related.

Thanks for your help anyway! River

riveryc avatar Aug 04 '16 09:08 riveryc

Just tested with beta version, still the same issue, logged as: A7277B05-898F-4809-AF02-9C0E94AAD48F/2016-08-04_19-05-46 Just let me know if you need more info to diagnostic. :)

Thanks River

riveryc avatar Aug 04 '16 09:08 riveryc

@riveryc i think that it is not a Docker problem, it is a problem with WIndows Hyper-V, if you want to create other VM you will have the same error, i don't know who are forcing to stop Hyper-V... in my GRUB menus entry, i have 2 Windows 10 options if i select the first i have Hyper-V activated, if i select the second, Hyper-V are disabled.

Also i write in W10 forums for this problem, if i have any news i will post here

Regards

figui avatar Aug 05 '16 03:08 figui

I have the same issue, Is it OK now?

log file ::

[23:54:11.190][Program ][Info ] Version: 1.12.0-stable [23:54:11.191][Program ][Info ] Starting on: 8/22/2016 11:54:11 PM [23:54:11.192][Program ][Info ] Resources: C:\Program Files\Docker\Docker\Resources [23:54:11.193][Program ][Info ] OS: Windows 10 Enterprise [23:54:11.193][Program ][Info ] Edition: Enterprise [23:54:11.193][Program ][Info ] Id: 1511 [23:54:11.194][Program ][Info ] Build: 10586 [23:54:11.194][Program ][Info ] BuildLabName: 10586.545.amd64fre.th2_release.160802-1857 [23:54:11.195][Program ][Info ] Sha1: 9cd1dc28d3ac81cb5177ff9728f65200304b36f6 [23:54:11.196][Program ][Info ] You can send feedback, including this log file, at https://github.com/docker/for-win/issues [23:54:11.614][TrackingStatus ][Info ] Crash report and usage statistics are enabled [23:54:11.629][Mixpanel ][Info ] Id: 39ADC86F-C274-43D9-B153-CA5DABCC4108 [23:54:11.642][Mixpanel ][Info ] Usage Statistic: appLaunched [23:54:12.706][NamedPipeClient][Info ] Sending Version()... [23:54:12.709][NamedPipeClient][Info ] Received response for Version [23:54:12.760][Mixpanel ][Info ] Usage Statistic: heartbeat [23:54:12.709][NamedPipeServer][Info ] Version done. [23:54:13.318][NamedPipeClient][Info ] Sending Stop()... [23:54:13.320][NamedPipeServer][Info ] Stop() [23:54:13.320][HyperV ][Info ] Stop [23:54:13.320][Updater ][Info ] Checking for updates on channel Stable... [23:54:13.320][PowerShell ][Info ] Run script with parameters: -Stop True... [23:54:14.364][HyperV ][Info ] VM MobyLinuxVM is stopped [23:54:14.366][ApiProxy ][Info ] Killing existing com.docker.proxy with PID 10928 [23:54:14.368][VpnKit ][Info ] Killing existing com.docker.slirp with PID 1544 [23:54:14.371][DataKit ][Info ] Killing existing com.docker.db with PID 5852 [23:54:14.372][NamedPipeClient][Info ] Received response for Stop [23:54:14.371][NamedPipeServer][Info ] Stop done. [23:54:14.372][NamedPipeClient][Info ] Sending Start(Docker.Core.Settings)... [23:54:14.374][NamedPipeServer][Info ] Start(Docker.Core.Settings) [23:54:14.374][HyperVGuids ][Info ] Installing GUIDs... [23:54:14.374][HyperVGuids ][Info ] GUIDs installed [23:54:14.375][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe... [23:54:15.432][Firewall ][Info ] Ports are opened [23:54:15.432][HyperV ][Info ] Create [23:54:15.433][PowerShell ][Info ] Run script with parameters: -Create True -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso... [23:54:16.236][HyperV ][Info ] Using existing Switch: DockerNAT [23:54:16.645][HyperV ][Info ] Using existing Switch IP address [23:54:16.767][Updater ][Info ] Local build 5968 is as good as the remote 5968 on channel Stable [23:54:17.764][HyperV ][Info ] Using existing: MobyLinuxVM [23:54:17.967][HyperV ][Info ] Setting MobyLinuxVM vm CPUs to 2 and Memory to 2048 MB [23:54:17.969][DataKit ][Info ] Starting... [23:54:17.970][PowerShell ][Info ] Run script... [23:54:17.999][DataKit ][Info ] Started [23:54:18.001][VpnKit ][Info ] Starting... [23:54:18.001][PowerShell ][Info ] Run script... [23:54:18.019][VpnKit ][Info ] Started [23:54:18.021][ApiProxy ][Info ] Starting... [23:54:18.021][PowerShell ][Info ] Run script... [23:54:18.032][DataKit ][Info ] [23:54:18.032][DataKit ][Info ] +4864us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:18.040][ApiProxy ][Info ] Started [23:54:18.040][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/exclude [23:54:18.040][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/http [23:54:18.040][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/https [23:54:18.060][VpnKit ][Info ] com.docker.slirp.exe: Logging to stdout (stdout:true DEBUG:false) [23:54:18.061][VpnKit ][Info ] com.docker.slirp.exe: Setting handler to ignore all SIGPIPE signals [23:54:18.061][VpnKit ][Info ] com.docker.slirp.exe: vpnkit version %VERSION% with hostnet version local %HOSTNET_PINNED% uwt version 0.0.3 hvsock version 0.10.0 %HVSOCK_PINNED% [23:54:18.061][VpnKit ][Info ] com.docker.slirp.exe: starting port_forwarding port_control_url:hyperv-connect://6ce726c4-e407-4dfa-8169-87199f682c53 max_connections:None vsock_path: [23:54:18.062][VpnKit ][Info ] com.docker.slirp.exe: connecting to 6ce726c4-e407-4dfa-8169-87199f682c53:0B95756A-9985-48AD-9470-78E060895BE7 [23:54:18.062][VpnKit ][Debug ] com.docker.slirp.exe: Waiting for connections on socket hyperv-connect://6ce726c4-e407-4dfa-8169-87199f682c53 [23:54:18.062][VpnKit ][Warning] com.docker.slirp.exe: no database: using hardcoded network configuration values [23:54:18.063][VpnKit ][Info ] com.docker.slirp.exe: connecting to 6ce726c4-e407-4dfa-8169-87199f682c53:30D48B34-7D27-4B0B-AAAF-BBBED334DD59 [23:54:18.063][VpnKit ][Debug ] com.docker.slirp.exe: Waiting for connections on socket hyperv-connect://6ce726c4-e407-4dfa-8169-87199f682c53 [23:54:18.086][ApiProxy ][Info ] docker proxy (on deprecated port): ready [23:54:18.087][ApiProxy ][Info ] dns server: ready [23:54:18.088][ApiProxy ][Info ] docker proxy: ready [23:54:18.246][DataKit ][Info ] Restarting... [23:54:18.449][PowerShell ][Info ] Run script... [23:54:18.466][DataKit ][Info ] Restarted [23:54:18.495][DataKit ][Info ] [23:54:18.496][DataKit ][Info ] +4291us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:18.695][DataKit ][Info ] Restarting... [23:54:18.898][PowerShell ][Info ] Run script... [23:54:19.306][Database ][Error ] 2016/08/22 23:54:18 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:18 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:18 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:18 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:18 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:18 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:18 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:18 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:18 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:18 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:19 Failed to contact the database on .\pipe\dockerDataBase: open .\pipe\dockerDataBase: The system cannot find the file specified.

[23:54:19.306][Database ][Error ] Unable to write to the database: Unable to remove from the database. Exit code: 1. Let's retry in 1s [23:54:19.322][DataKit ][Info ] Restarted [23:54:19.349][DataKit ][Info ] [23:54:19.349][DataKit ][Info ] +4050us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:19.388][DataKit ][Info ] Restarting... [23:54:19.592][PowerShell ][Info ] Run script... [23:54:19.630][DataKit ][Info ] Restarted [23:54:19.665][DataKit ][Info ] [23:54:19.665][DataKit ][Info ] +5584us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:19.733][DataKit ][Info ] Restarting... [23:54:19.936][PowerShell ][Info ] Run script... [23:54:19.963][DataKit ][Info ] Restarted [23:54:19.999][DataKit ][Info ] [23:54:19.999][DataKit ][Info ] +5890us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:20.001][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception: [23:54:20.002][DataKit ][Info ] Unix.Unix_error(40, "select", "") [23:54:20.002][DataKit ][Info ]
[23:54:20.005][DataKit ][Info ] Restarting... [23:54:20.209][PowerShell ][Info ] Run script... [23:54:20.243][DataKit ][Info ] Restarted [23:54:20.294][DataKit ][Info ] [23:54:20.294][DataKit ][Info ] +4711us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:20.308][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/exclude [23:54:20.312][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/http [23:54:20.312][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/https [23:54:20.356][DataKit ][Info ] Restarting... [23:54:20.559][PowerShell ][Info ] Run script... [23:54:21.567][Database ][Error ] 2016/08/22 23:54:20 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:20 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:20 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:20 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:20 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:20 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:20 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:21 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:21 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:21 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:21 Failed to contact the database on .\pipe\dockerDataBase: open .\pipe\dockerDataBase: The system cannot find the file specified.

[23:54:21.568][Database ][Error ] Unable to write to the database: Unable to remove from the database. Exit code: 1. Let's retry in 1s [23:54:21.584][DataKit ][Info ] Restarted [23:54:21.610][DataKit ][Info ] [23:54:21.610][DataKit ][Info ] +3858us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:21.648][DataKit ][Info ] Restarting... [23:54:21.850][PowerShell ][Info ] Run script... [23:54:21.867][DataKit ][Info ] Restarted [23:54:21.895][DataKit ][Info ] [23:54:21.895][DataKit ][Info ] +4509us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:21.970][DataKit ][Info ] Restarting... [23:54:22.173][PowerShell ][Info ] Run script... [23:54:22.191][DataKit ][Info ] Restarted [23:54:22.218][DataKit ][Info ] [23:54:22.219][DataKit ][Info ] +3910us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:22.413][DataKit ][Info ] Restarting... [23:54:22.570][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/exclude [23:54:22.570][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/http [23:54:22.570][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/https [23:54:22.615][PowerShell ][Info ] Run script... [23:54:23.822][Database ][Error ] 2016/08/22 23:54:22 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:22 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:22 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:22 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:23 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:23 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:23 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:23 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:23 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:23 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:23 Failed to contact the database on .\pipe\dockerDataBase: open .\pipe\dockerDataBase: The system cannot find the file specified.

[23:54:23.822][Database ][Error ] Unable to write to the database: Unable to remove from the database. Exit code: 1. Let's retry in 1s [23:54:23.839][DataKit ][Info ] Restarted [23:54:23.871][DataKit ][Info ] [23:54:23.873][DataKit ][Info ] +4858us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:23.906][DataKit ][Info ] Restarting... [23:54:24.108][PowerShell ][Info ] Run script... [23:54:24.130][DataKit ][Info ] Restarted [23:54:24.164][DataKit ][Info ] [23:54:24.165][DataKit ][Info ] +5317us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:24.676][DataKit ][Info ] Restarting... [23:54:24.824][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/exclude [23:54:24.824][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/http [23:54:24.824][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/https [23:54:24.880][PowerShell ][Info ] Run script... [23:54:26.080][Database ][Error ] 2016/08/22 23:54:24 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:24 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:25 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:25 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:25 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:25 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:25 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:25 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:25 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:25 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:25 Failed to contact the database on .\pipe\dockerDataBase: open .\pipe\dockerDataBase: The system cannot find the file specified.

[23:54:26.081][Database ][Error ] Unable to write to the database: Unable to remove from the database. Exit code: 1. Let's retry in 1s [23:54:26.124][DataKit ][Info ] Restarted [23:54:26.159][DataKit ][Info ] [23:54:26.160][DataKit ][Info ] +4675us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:26.161][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception: [23:54:26.162][DataKit ][Info ] Unix.Unix_error(40, "select", "") [23:54:26.162][DataKit ][Info ]
[23:54:26.165][DataKit ][Info ] Restarting... [23:54:26.367][PowerShell ][Info ] Run script... [23:54:26.384][DataKit ][Info ] Restarted [23:54:26.415][DataKit ][Info ] [23:54:26.416][DataKit ][Info ] +4624us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:26.417][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception: [23:54:26.418][DataKit ][Info ] Unix.Unix_error(40, "select", "") [23:54:26.418][DataKit ][Info ]
[23:54:26.421][DataKit ][Info ] Restarting... [23:54:26.624][PowerShell ][Info ] Run script... [23:54:26.643][DataKit ][Info ] Restarted [23:54:26.673][DataKit ][Info ] [23:54:26.673][DataKit ][Info ] +4723us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:26.874][DataKit ][Info ] Restarting... [23:54:27.077][PowerShell ][Info ] Run script... [23:54:27.083][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/exclude [23:54:27.083][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/http [23:54:27.083][Database ][Info ] Removing com.docker.driver.amd64-linux/proxy/https [23:54:27.095][DataKit ][Info ] Restarted [23:54:27.125][DataKit ][Info ] [23:54:27.126][DataKit ][Info ] +3870us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:27.331][DataKit ][Info ] Restarting... [23:54:27.533][PowerShell ][Info ] Run script... [23:54:27.552][DataKit ][Info ] Restarted [23:54:27.578][DataKit ][Info ] [23:54:27.578][DataKit ][Info ] +3950us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:27.580][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception: [23:54:27.580][DataKit ][Info ] Unix.Unix_error(40, "select", "") [23:54:27.580][DataKit ][Info ]
[23:54:27.583][DataKit ][Info ] Restarting... [23:54:27.786][PowerShell ][Info ] Run script... [23:54:27.804][DataKit ][Info ] Restarted [23:54:27.831][DataKit ][Info ] [23:54:27.831][DataKit ][Info ] +4058us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:28.029][DataKit ][Info ] Restarting... [23:54:28.232][PowerShell ][Info ] Run script... [23:54:28.260][DataKit ][Info ] Restarted [23:54:28.311][DataKit ][Info ] [23:54:28.312][DataKit ][Info ] +7776us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:28.329][Database ][Error ] 2016/08/22 23:54:27 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:27 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:27 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:27 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:27 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:27 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:27 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:27 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:27 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:28 Retry dialing .\pipe\dockerDataBase in 100ms 2016/08/22 23:54:28 Failed to contact the database on .\pipe\dockerDataBase: open .\pipe\dockerDataBase: The system cannot find the file specified.

[23:54:28.329][NamedPipeServer][Error ] Unable to execute Start: Unable to remove from the database. Exit code: 1 在 Docker.Backend.Database.RemoveKeys(String[] keys) 在 Docker.Backend.Database.TryWrite(Settings settings) 在 Docker.Backend.Database.Write(Settings settings) 在 Docker.Backend.Backend.Start(Settings settings) 在 Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass7_0.b__0(Object[] parameters) 在 Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) [23:54:28.332][NamedPipeClient][Error ] Unable to send Start: Unable to remove from the database. Exit code: 1 [23:54:28.333][NamedPipeClient][Info ] Sending CheckInstallation()... [23:54:28.334][NamedPipeServer][Info ] CheckInstallation() [23:54:28.334][HyperV ][Info ] Check Hyper-V Windows optional feature [23:54:28.335][PowerShell ][Info ] Run script... [23:54:28.384][DataKit ][Info ] Restarting... [23:54:28.586][PowerShell ][Info ] Run script... [23:54:29.607][HyperV ][Info ] Hyper-V Windows feature is enabled [23:54:29.607][NamedPipeServer][Info ] CheckInstallation done. [23:54:29.607][NamedPipeClient][Info ] Received response for CheckInstallation [23:54:29.609][NamedPipeClient][Info ] Sending CheckHyperVState()... [23:54:29.610][NamedPipeServer][Info ] CheckHyperVState() [23:54:29.610][HyperV ][Info ] Check Hyper-V State [23:54:29.610][PowerShell ][Info ] Run script with parameters: -Check True... [23:54:29.623][DataKit ][Info ] Restarted [23:54:29.653][DataKit ][Info ] [23:54:29.653][DataKit ][Info ] +4541us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:29.846][DataKit ][Info ] Restarting... [23:54:30.048][PowerShell ][Info ] Run script... [23:54:30.121][HyperV ][Info ] Hyper-V is running [23:54:30.121][NamedPipeServer][Info ] CheckHyperVState done. [23:54:30.122][NamedPipeClient][Info ] Received response for CheckHyperVState [23:54:30.124][Notifications ][Error ] Unable to remove from the database. Exit code: 1 [23:54:30.138][DataKit ][Info ] Restarted [23:54:30.165][DataKit ][Info ] [23:54:30.166][DataKit ][Info ] +4442us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:30.395][DataKit ][Info ] Restarting... [23:54:30.598][PowerShell ][Info ] Run script... [23:54:30.617][DataKit ][Info ] Restarted [23:54:30.645][DataKit ][Info ] [23:54:30.645][DataKit ][Info ] +3867us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:30.856][DataKit ][Info ] Restarting... [23:54:31.059][PowerShell ][Info ] Run script... [23:54:31.075][DataKit ][Info ] Restarted [23:54:31.103][DataKit ][Info ] [23:54:31.103][DataKit ][Info ] +4024us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:31.163][DataKit ][Info ] Restarting... [23:54:31.365][PowerShell ][Info ] Run script... [23:54:31.390][DataKit ][Info ] Restarted [23:54:31.417][DataKit ][Info ] [23:54:31.417][DataKit ][Info ] +3945us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:31.481][DataKit ][Info ] Restarting... [23:54:31.685][PowerShell ][Info ] Run script... [23:54:31.726][DataKit ][Info ] Restarted [23:54:31.780][DataKit ][Info ] [23:54:31.781][DataKit ][Info ] +7324us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:31.783][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception: [23:54:31.783][DataKit ][Info ] Unix.Unix_error(40, "select", "") [23:54:31.783][DataKit ][Info ]
[23:54:31.797][DataKit ][Info ] Restarting... [23:54:32.002][PowerShell ][Info ] Run script... [23:54:32.022][DataKit ][Info ] Restarted [23:54:32.056][DataKit ][Info ] [23:54:32.057][DataKit ][Info ] +5397us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:32.264][DataKit ][Info ] Restarting... [23:54:32.467][PowerShell ][Info ] Run script... [23:54:32.484][DataKit ][Info ] Restarted [23:54:32.512][DataKit ][Info ] [23:54:32.512][DataKit ][Info ] +4021us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:32.579][DataKit ][Info ] Restarting... [23:54:32.781][PowerShell ][Info ] Run script... [23:54:32.800][DataKit ][Info ] Restarted [23:54:32.826][DataKit ][Info ] [23:54:32.826][DataKit ][Info ] +3815us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:33.527][DataKit ][Info ] Restarting... [23:54:33.729][PowerShell ][Info ] Run script... [23:54:33.746][DataKit ][Info ] Restarted [23:54:33.774][DataKit ][Info ] [23:54:33.775][DataKit ][Info ] +4137us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:34.286][DataKit ][Info ] Restarting... [23:54:34.488][PowerShell ][Info ] Run script... [23:54:34.506][DataKit ][Info ] Restarted [23:54:34.532][DataKit ][Info ] [23:54:34.532][DataKit ][Info ] +3768us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:34.534][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception: [23:54:34.534][DataKit ][Info ] Unix.Unix_error(40, "select", "") [23:54:34.539][DataKit ][Info ]
[23:54:34.735][DataKit ][Info ] Restarting... [23:54:34.938][PowerShell ][Info ] Run script... [23:54:34.955][DataKit ][Info ] Restarted [23:54:34.982][DataKit ][Info ] [23:54:34.983][DataKit ][Info ] +3900us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:35.015][DataKit ][Info ] Restarting... [23:54:35.218][PowerShell ][Info ] Run script... [23:54:35.245][DataKit ][Info ] Restarted [23:54:35.281][DataKit ][Info ] [23:54:35.282][DataKit ][Info ] +4695us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:35.338][DataKit ][Info ] Restarting... [23:54:35.540][PowerShell ][Info ] Run script... [23:54:35.559][DataKit ][Info ] Restarted [23:54:35.587][DataKit ][Info ] [23:54:35.588][DataKit ][Info ] +4204us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:35.798][DataKit ][Info ] Restarting... [23:54:36.001][PowerShell ][Info ] Run script... [23:54:36.018][DataKit ][Info ] Restarted [23:54:36.045][DataKit ][Info ] [23:54:36.046][DataKit ][Info ] +3850us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:36.556][DataKit ][Info ] Restarting... [23:54:36.761][PowerShell ][Info ] Run script... [23:54:36.784][DataKit ][Info ] Restarted [23:54:36.811][DataKit ][Info ] [23:54:36.811][DataKit ][Info ] +3758us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:36.813][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception: [23:54:36.813][DataKit ][Info ] Unix.Unix_error(Unix.ENOTSOCK, "select", "") [23:54:36.813][DataKit ][Info ]
[23:54:37.323][DataKit ][Info ] Restarting... [23:54:37.526][PowerShell ][Info ] Run script... [23:54:37.543][DataKit ][Info ] Restarted [23:54:37.570][DataKit ][Info ] [23:54:37.570][DataKit ][Info ] +3801us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:37.572][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception: [23:54:37.572][DataKit ][Info ] Unix.Unix_error(40, "select", "") [23:54:37.573][DataKit ][Info ]
[23:54:37.587][DataKit ][Info ] Restarting... [23:54:37.789][PowerShell ][Info ] Run script... [23:54:37.807][DataKit ][Info ] Restarted [23:54:37.834][DataKit ][Info ] [23:54:37.835][DataKit ][Info ] +4100us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:38.039][DataKit ][Info ] Restarting... [23:54:38.241][PowerShell ][Info ] Run script... [23:54:38.258][DataKit ][Info ] Restarted [23:54:38.286][DataKit ][Info ] [23:54:38.286][DataKit ][Info ] +4020us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:38.491][DataKit ][Info ] Restarting... [23:54:38.696][PowerShell ][Info ] Run script... [23:54:38.713][DataKit ][Info ] Restarted [23:54:38.740][DataKit ][Info ] [23:54:38.741][DataKit ][Info ] +3834us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:38.940][DataKit ][Info ] Restarting... [23:54:39.141][PowerShell ][Info ] Run script... [23:54:39.158][DataKit ][Info ] Restarted [23:54:39.187][DataKit ][Info ] [23:54:39.187][DataKit ][Info ] +4006us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:39.413][DataKit ][Info ] Restarting... [23:54:39.615][PowerShell ][Info ] Run script... [23:54:39.633][DataKit ][Info ] Restarted [23:54:39.659][DataKit ][Info ] [23:54:39.659][DataKit ][Info ] +3669us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:40.014][DataKit ][Info ] Restarting... [23:54:40.218][PowerShell ][Info ] Run script... [23:54:40.235][DataKit ][Info ] Restarted [23:54:40.262][DataKit ][Info ] [23:54:40.262][DataKit ][Info ] +4732us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:40.297][DataKit ][Info ] Restarting... [23:54:40.500][PowerShell ][Info ] Run script... [23:54:40.518][DataKit ][Info ] Restarted [23:54:40.544][DataKit ][Info ] [23:54:40.545][DataKit ][Info ] +3837us Datakit Starting com.docker.db.exe 16bb469 ... [23:54:40.547][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception: [23:54:40.547][DataKit ][Info ] Unix.Unix_error(40, "select", "") [23:54:40.547][DataKit ][Info ]
[23:54:40.750][DataKit ][Info ] Restarting... [23:54:40.752][FeedbackSettings][Info ] Open logs

unixcx avatar Aug 22 '16 05:08 unixcx

windows Event log about "Hyper-V Hypervisor" : Hyper-V detected access to a restricted MSR (Msr: 0x65C, IsWrite: 0x0, MsrValue: 0x1C2001B0168, AccessStatus: 0x0, Pc: 0xFFFFF801AEB9B25C, ImageBase: 0xFFFFF801AEB90000, ImageChecksum: 0x4F7DE, ImageTimestamp: 0x55C4EEA9, ImageName: esif_lf.sys).

in fact I used the docker for windows a little days in this machine. now it's not working. I don't know how should I do...

unixcx avatar Aug 22 '16 16:08 unixcx

Same issue here with a windows 10 It's not working : Unable to remove from the database. Exit code: 1 à Docker.Core.Pipe.NamedPipeClient.TrySend(String action, Object[] parameters) à Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) à Docker.Core.Backend.BackendClient.Start(Settings settings) à Docker.Actions.DoStart(Settings settings, Boolean showWelcomeWindow) à Docker.Core.TaskQueue.<.ctor>b__16_0()

gcortier avatar Aug 29 '16 15:08 gcortier

... 今天我重装了我的网卡,重启完机器,docker 居然重新工作了.

oh~ today my docker is working when I uninstall my network card driver, and install a new one. I think this only because I reinstall my network driver.

unixcx avatar Sep 03 '16 10:09 unixcx

@unixcx the MSR issue you report above is different to what others are seeing. If you see it again, could you create a new issue and provide a diagnostics ID? Thanks

rn avatar Sep 06 '16 10:09 rn

@riveryc could you try the latest beta from https://download.docker.com/win/beta/InstallDocker.msi

rn avatar Sep 06 '16 10:09 rn

@gcortier could you also try the beta from https://download.docker.com/win/beta/InstallDocker.msi and if it still does not work provide a diagnostics ID for us to take a look at the logs?

rn avatar Sep 06 '16 10:09 rn

@rneugeba : I've already tryed the beta version too with the same result. I can't make a new try now because i've set up back my environnement to toolbox and i haven't time to reconfigure it. Maybe i will retry when i will move to another project. But my problem looks very similar to @riveryc. Let me know if the error is fixed by new version. Thanks

gcortier avatar Sep 06 '16 12:09 gcortier

@gcortier thanks for getting back. I'm not entirely sure what the too cause is, so I was trying to get as much debug info as possible to look for similarities and differences. It works for most users, so it is something which is different. Please do retry once you have time/move to another project, we try to constantly improve Docker for Windows.

rn avatar Sep 06 '16 13:09 rn

Hi @riveryc have you had time to test a more recent version? If your issue is fixed, please close this ticket. Thanks!

dgageot avatar Sep 14 '16 07:09 dgageot

I'm also getting this error with the latest versions of Stable and Beta. My diagnostic ID is C4B7AC32-0BF9-4F9C-BBBA-7BE438801DE6/2016-09-18_12-07-58

AndyBerman avatar Sep 18 '16 16:09 AndyBerman

Hi, Is there some news about it ? I'm also getting this error with the latest versions of Stable and Beta. 5B488398-3EFC-44B6-81E1-224DCAD55A11/2016-09-27_18-03-09

Version: 1.12.1-beta26 OS: Windows 10 Pro Edition: Professional Id: 1607 Build: 14393

Thanks.

scalap avatar Sep 27 '16 16:09 scalap