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

Unable to write to the database. Exit code: 1

Open VijayJustinMohd opened this issue 9 years ago • 8 comments

Expected behavior

Unable to write to the database. Exit code: 1

Actual behavior

at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 247 at Docker.Backend.ContainerEngine.Linux.Start(Settings settings) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 123 at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47 at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145

Information

I have attached my log also

Version: 17.06.0-rc2-ce-win14 (12510) Channel: edge Sha1: e4067577a34951ceb09b9e7d029cbdff2ca0ffb4 Started on: 2017/06/14 12:26:51.454 Resources: C:\Program Files\Docker\Docker\Resources OS: Windows Server 2016 Datacenter Edition: ServerDatacenter Id: 1607 Build: 14393 BuildLabName: 14393.1198.amd64fre.rs1_release_sec.170427-1353 File: C:\Users\vijay\AppData\Local\Docker\log.txt CommandLine: "C:\Program Files\Docker\Docker\Docker for Windows.exe" You can send feedback, including this log file, at https://github.com/docker/for-win/issues [12:26:51.659][GUI ][Info ] Starting... [12:26:52.622][Tracking ][Info ] Crash report and usage statistics are enabled [12:26:52.626][SegmentApi ][Info ] Usage statistic: appLaunched [12:26:52.713][NamedPipeClient][Info ] Sending Version()... [12:26:52.740][NamedPipeClient][Info ] Received response for Version [12:26:52.743][SegmentApi ][Info ] Usage statistic: heartbeat [12:25:38.304][BackendServer ][Info ] Started [12:26:52.738][NamedPipeServer][Info ] Version() [12:26:52.738][NamedPipeServer][Info ] Version done in 00:00:00. [12:26:53.012][Notifications ][Info ] Docker is starting... [12:26:53.176][NamedPipeClient][Info ] Sending Start(Docker.Core.Settings)... [12:26:53.422][NamedPipeServer][Info ] Start(Docker.Core.Settings) [12:26:53.436][PowerMode ][Info ] Stop [12:26:53.438][HyperV ][Info ] Stop [12:26:53.553][PowerShell ][Info ] Run script with parameters: -Stop True... [12:26:53.608][PowerShell ][Info ] Creating a Runspace Pool... [12:26:54.579][PowerShell ][Info ] Runspace Pool created (Min=1, Max=2) [12:26:54.792][HyperV ][Info ] Script started at 12:26:54.783 [12:26:58.685][HyperV ][Info ] Module loaded at 12:26:58.684 [12:26:59.590][HyperV ][Info ] VM MobyLinuxVM does not exist [12:26:59.592][HyperV ][Debug ] [stop] took 00:00:06.1160904 to run [12:26:59.592][OptimizeDisk ][Info ] Optimize [12:26:59.593][PowerShell ][Info ] Run script... [12:26:59.641][Moby ][Info ] Stop [12:26:59.646][HyperV ][Info ] Create [12:26:59.647][PowerShell ][Info ] Run script with parameters: -Create True -VhdPathOverride -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 1 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso... [12:26:59.654][HyperVGuids ][Info ] Installing GUIDs... [12:26:59.656][HyperVGuids ][Info ] GUIDs installed [12:26:59.656][PowerMode ][Info ] Start [12:26:59.680][HyperV ][Info ] Script started at 12:26:59.680 [12:26:59.694][HyperV ][Info ] Module loaded at 12:26:59.694 [12:26:59.695][Firewall ][Info ] Removing all existing rules... [12:26:59.712][Firewall ][Info ] All existing rules are removed. [12:26:59.713][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe... [12:26:59.759][Firewall ][Info ] Opening ports for SMB... [12:26:59.836][Firewall ][Info ] Ports are opened [12:27:00.042][HyperV ][Info ] Creating Switch: DockerNAT... [12:27:04.775][HyperV ][Info ] Switch created. [12:27:07.212][HyperV ][Info ] Set IP address on switch [12:27:08.711][HyperV ][Info ] Creating VM MobyLinuxVM... [12:27:11.556][HyperV ][Info ] Setting CPUs to 1 and Memory to 2048 MB [12:27:11.976][HyperV ][Info ] Creating dynamic VHD: C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx [12:27:13.226][HyperV ][Info ] Attach VHD C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx [12:27:14.225][HyperV ][Info ] Connect Internal Switch DockerNAT [12:27:14.741][HyperV ][Info ] Attach DVD C:\Program Files\Docker\Docker\Resources\mobylinux.iso [12:27:15.912][HyperV ][Info ] Disabled Guest Service Interface [12:27:15.959][HyperV ][Info ] Enabled Heartbeat [12:27:16.131][HyperV ][Info ] Disabled Key-Value Pair Exchange [12:27:16.194][HyperV ][Info ] Enabled Shutdown [12:27:16.256][HyperV ][Info ] Enabled Time Synchronization [12:27:16.350][HyperV ][Info ] Disabled VSS [12:27:17.147][HyperV ][Info ] VM created. [12:27:17.147][HyperV ][Debug ] [create] took 00:00:17.5007665 to run [12:27:17.147][PowerShell ][Info ] Run script '(Get-VM MobyLinuxVM).Id.Guid'... [12:27:17.365][Database ][Info ] Generating CA Cert Bundle [12:27:17.412][Database ][Info ] CA Cert Bundle Generated [12:27:17.459][DataKit ][Info ] Starting com.docker.db.exe 0.7.0-34-g6f04213 ...

[12:27:17.459][DataKit ][Error ] com.docker.db.exe: Failed to set up server socket listening on hyperv-connect://b285b4d2-2ac3-4ddc-bfec-e3e5621ca0d2: Unix.Unix_error(Unix.ENETDOWN, "socket", "")

[12:27:17.475][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception:

[12:27:17.475][DataKit ][Info ] (Failure accept_forever)

[12:27:17.475][DataKit ][Info ]

[12:27:17.475][Database ][Info ] Writing com.docker.driver.amd64-linux/net/config=static [12:27:17.475][Database ][Info ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2 [12:27:17.475][Database ][Info ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0 [12:27:17.475][Database ][Info ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1 [12:27:17.475][Database ][Info ] Writing com.docker.driver.amd64-linux/network=hybrid [12:27:17.475][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[], "debug":true, "experimental": true} [12:27:17.475][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf= [12:27:17.475][Database ][Info ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true [12:27:18.960][Database ][Error ] 2017/06/14 12:27:17 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:17 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:17 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:18 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:18 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:18 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:18 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:18 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:18 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:18 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:18 Failed to contact the database on \.\pipe\dockerDataBase: open \.\pipe\dockerDataBase: The system cannot find the file specified.

[12:27:18.960][Database ][Error ] Unable to modify database: Unable to write to the database. Exit code: 1. Let's retry in 1s [12:27:20.101][Database ][Info ] Writing com.docker.driver.amd64-linux/net/config=static [12:27:20.101][Database ][Info ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2 [12:27:20.101][Database ][Info ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0 [12:27:20.101][Database ][Info ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1 [12:27:20.101][Database ][Info ] Writing com.docker.driver.amd64-linux/network=hybrid [12:27:20.101][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[], "debug":true, "experimental": true} [12:27:20.101][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf= [12:27:20.101][Database ][Info ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true [12:27:22.082][Database ][Error ] 2017/06/14 12:27:20 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:21 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:21 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:21 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:21 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:21 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:21 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:21 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:21 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:21 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:22 Failed to contact the database on \.\pipe\dockerDataBase: open \.\pipe\dockerDataBase: The system cannot find the file specified.

[12:27:22.082][Database ][Error ] Unable to modify database: Unable to write to the database. Exit code: 1. Let's retry in 1s [12:27:23.109][Database ][Info ] Writing com.docker.driver.amd64-linux/net/config=static [12:27:23.109][Database ][Info ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2 [12:27:23.109][Database ][Info ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0 [12:27:23.109][Database ][Info ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1 [12:27:23.109][Database ][Info ] Writing com.docker.driver.amd64-linux/network=hybrid [12:27:23.109][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[], "debug":true, "experimental": true} [12:27:23.109][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf= [12:27:23.109][Database ][Info ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true [12:27:24.336][Database ][Error ] 2017/06/14 12:27:23 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:23 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:23 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:23 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:23 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:23 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:23 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:24 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:24 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:24 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:24 Failed to contact the database on \.\pipe\dockerDataBase: open \.\pipe\dockerDataBase: The system cannot find the file specified.

[12:27:24.336][Database ][Error ] Unable to modify database: Unable to write to the database. Exit code: 1. Let's retry in 1s [12:27:25.351][Database ][Info ] Writing com.docker.driver.amd64-linux/net/config=static [12:27:25.351][Database ][Info ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2 [12:27:25.351][Database ][Info ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0 [12:27:25.351][Database ][Info ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1 [12:27:25.351][Database ][Info ] Writing com.docker.driver.amd64-linux/network=hybrid [12:27:25.351][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[], "debug":true, "experimental": true} [12:27:25.351][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf= [12:27:25.351][Database ][Info ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true [12:27:26.462][Database ][Error ] 2017/06/14 12:27:25 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:25 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:25 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:25 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:25 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:25 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:26 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:26 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:26 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:26 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:26 Failed to contact the database on \.\pipe\dockerDataBase: open \.\pipe\dockerDataBase: The system cannot find the file specified.

[12:27:26.462][Database ][Error ] Unable to modify database: Unable to write to the database. Exit code: 1. Let's retry in 1s [12:27:27.480][Database ][Info ] Writing com.docker.driver.amd64-linux/net/config=static [12:27:27.480][Database ][Info ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2 [12:27:27.480][Database ][Info ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0 [12:27:27.480][Database ][Info ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1 [12:27:27.480][Database ][Info ] Writing com.docker.driver.amd64-linux/network=hybrid [12:27:27.480][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[], "debug":true, "experimental": true} [12:27:27.480][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf= [12:27:27.480][Database ][Info ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true [12:27:28.593][Database ][Error ] 2017/06/14 12:27:27 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:27 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:27 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:27 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:27 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:28 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:28 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:28 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:28 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:28 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:28 Failed to contact the database on \.\pipe\dockerDataBase: open \.\pipe\dockerDataBase: The system cannot find the file specified.

[12:27:28.593][Linux ][Error ] Failed to start: Unable to write to the database. Exit code: 1. Let's retry [12:27:28.593][PowerShell ][Info ] Run script... [12:27:36.104][HyperV ][Info ] Hyper-V is running [12:27:36.104][PowerMode ][Info ] Stop [12:27:36.104][HyperV ][Info ] Stop [12:27:36.104][PowerShell ][Info ] Run script with parameters: -Stop True... [12:27:36.136][HyperV ][Info ] Script started at 12:27:36.136 [12:27:36.182][HyperV ][Info ] Module loaded at 12:27:36.182 [12:27:36.229][HyperV ][Info ] VM MobyLinuxVM is stopped [12:27:36.229][HyperV ][Debug ] [stop] took 00:00:00.1250508 to run [12:27:36.229][OptimizeDisk ][Info ] Optimize [12:27:36.229][PowerShell ][Info ] Run script... [12:27:37.658][Moby ][Info ] Stop [12:27:37.658][HyperV ][Info ] Destroy [12:27:37.658][PowerShell ][Info ] Run script with parameters: -Destroy True -KeepVolume True... [12:27:37.674][HyperV ][Info ] Script started at 12:27:37.674 [12:27:37.689][HyperV ][Info ] Module loaded at 12:27:37.689 [12:27:37.736][HyperV ][Info ] VM MobyLinuxVM is stopped [12:27:37.736][HyperV ][Info ] Destroying Switch DockerNAT... [12:27:38.768][HyperV ][Info ] Removing VM MobyLinuxVM... [12:27:39.034][HyperV ][Debug ] [destroy] took 00:00:01.3757826 to run [12:27:39.034][Firewall ][Info ] Closing ports... [12:27:39.034][Firewall ][Info ] Removing all existing rules... [12:27:39.096][Firewall ][Info ] All existing rules are removed. [12:27:39.096][Firewall ][Info ] Ports are closed [12:27:39.096][HyperVGuids ][Info ] Removing GUIDs... [12:27:39.112][HyperVGuids ][Info ] GUIDs removed [12:27:39.112][HyperV ][Info ] Create [12:27:39.112][PowerShell ][Info ] Run script with parameters: -Create True -VhdPathOverride -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 1 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso... [12:27:39.174][HyperV ][Info ] Script started at 12:27:39.174 [12:27:39.174][HyperV ][Info ] Module loaded at 12:27:39.174 [12:27:39.237][HyperV ][Info ] Creating Switch: DockerNAT... [12:27:40.847][HyperV ][Info ] Switch created. [12:27:42.222][HyperV ][Info ] Set IP address on switch [12:27:42.253][HyperV ][Info ] Creating VM MobyLinuxVM... [12:27:46.911][HyperV ][Info ] Setting CPUs to 1 and Memory to 2048 MB [12:27:47.473][HyperV ][Info ] Attach VHD C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx [12:27:48.504][HyperV ][Info ] Connect Internal Switch DockerNAT [12:27:48.967][HyperV ][Info ] Attach DVD C:\Program Files\Docker\Docker\Resources\mobylinux.iso [12:27:50.387][HyperV ][Info ] Disabled Guest Service Interface [12:27:50.403][HyperV ][Info ] Enabled Heartbeat [12:27:50.573][HyperV ][Info ] Disabled Key-Value Pair Exchange [12:27:50.588][HyperV ][Info ] Enabled Shutdown [12:27:50.619][HyperV ][Info ] Enabled Time Synchronization [12:27:50.727][HyperV ][Info ] Disabled VSS [12:27:54.332][HyperV ][Info ] VM created. [12:27:54.332][HyperV ][Debug ] [create] took 00:00:15.2201384 to run [12:27:54.332][PowerMode ][Info ] Stop [12:27:54.332][HyperV ][Info ] Stop [12:27:54.332][PowerShell ][Info ] Run script with parameters: -Stop True... [12:27:54.363][HyperV ][Info ] Script started at 12:27:54.363 [12:27:54.363][HyperV ][Info ] Module loaded at 12:27:54.363 [12:27:54.487][HyperV ][Info ] VM MobyLinuxVM is stopped [12:27:54.487][HyperV ][Debug ] [stop] took 00:00:00.1548820 to run [12:27:54.487][OptimizeDisk ][Info ] Optimize [12:27:54.487][PowerShell ][Info ] Run script... [12:27:56.843][Moby ][Info ] Stop [12:27:56.843][HyperV ][Info ] Create [12:27:56.843][PowerShell ][Info ] Run script with parameters: -Create True -VhdPathOverride -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 1 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso... [12:27:56.859][HyperVGuids ][Info ] Installing GUIDs... [12:27:56.859][HyperVGuids ][Info ] GUIDs installed [12:27:56.859][PowerMode ][Info ] Start [12:27:56.859][Firewall ][Info ] Removing all existing rules... [12:27:56.905][Firewall ][Info ] All existing rules are removed. [12:27:56.905][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe... [12:27:56.905][Firewall ][Info ] Opening ports for SMB... [12:27:56.920][Firewall ][Info ] Ports are opened [12:27:56.920][HyperV ][Info ] Script started at 12:27:56.920 [12:27:56.936][HyperV ][Info ] Module loaded at 12:27:56.936 [12:27:57.339][HyperV ][Info ] Using existing Switch: DockerNAT [12:27:57.711][HyperV ][Info ] Using existing Switch IP address [12:27:57.743][HyperV ][Info ] Setting CPUs to 1 and Memory to 2048 MB [12:27:57.944][HyperV ][Info ] Connect Internal Switch DockerNAT [12:27:58.177][HyperV ][Info ] Disabled Guest Service Interface [12:27:58.208][HyperV ][Info ] Enabled Heartbeat [12:27:58.239][HyperV ][Info ] Disabled Key-Value Pair Exchange [12:27:58.271][HyperV ][Info ] Enabled Shutdown [12:27:58.286][HyperV ][Info ] Enabled Time Synchronization [12:27:58.317][HyperV ][Info ] Disabled VSS [12:27:58.441][HyperV ][Info ] VM created. [12:27:58.441][HyperV ][Debug ] [create] took 00:00:01.5978990 to run [12:27:58.441][PowerShell ][Info ] Run script '(Get-VM MobyLinuxVM).Id.Guid'... [12:27:58.518][Database ][Info ] Generating CA Cert Bundle [12:27:58.534][Database ][Info ] CA Cert Bundle Generated [12:27:58.580][DataKit ][Info ] Starting com.docker.db.exe 0.7.0-34-g6f04213 ...

[12:27:58.580][DataKit ][Error ] com.docker.db.exe: Failed to set up server socket listening on hyperv-connect://54c14bc1-cabb-46de-9273-846cbfb26133: Unix.Unix_error(Unix.ENETDOWN, "socket", "")

[12:27:58.580][DataKit ][Info ] com.docker.db.exe: internal error, uncaught exception:

[12:27:58.580][DataKit ][Info ] (Failure accept_forever)

[12:27:58.580][DataKit ][Info ]

[12:27:58.580][Database ][Info ] Writing com.docker.driver.amd64-linux/net/config=static [12:27:58.580][Database ][Info ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2 [12:27:58.580][Database ][Info ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0 [12:27:58.580][Database ][Info ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1 [12:27:58.580][Database ][Info ] Writing com.docker.driver.amd64-linux/network=hybrid [12:27:58.580][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[], "debug":true, "experimental": true} [12:27:58.580][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf= [12:27:58.580][Database ][Info ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true [12:27:59.738][Database ][Error ] 2017/06/14 12:27:58 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:58 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:58 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:59 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:59 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:59 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:59 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:59 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:59 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:59 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:27:59 Failed to contact the database on \.\pipe\dockerDataBase: open \.\pipe\dockerDataBase: The system cannot find the file specified.

[12:27:59.738][Database ][Error ] Unable to modify database: Unable to write to the database. Exit code: 1. Let's retry in 1s [12:28:00.801][Database ][Info ] Writing com.docker.driver.amd64-linux/net/config=static [12:28:00.801][Database ][Info ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2 [12:28:00.801][Database ][Info ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0 [12:28:00.801][Database ][Info ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1 [12:28:00.801][Database ][Info ] Writing com.docker.driver.amd64-linux/network=hybrid [12:28:00.801][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[], "debug":true, "experimental": true} [12:28:00.801][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf= [12:28:00.801][Database ][Info ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true [12:28:01.997][Database ][Error ] 2017/06/14 12:28:00 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:01 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:01 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:01 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:01 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:01 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:01 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:01 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:01 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:01 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:01 Failed to contact the database on \.\pipe\dockerDataBase: open \.\pipe\dockerDataBase: The system cannot find the file specified.

[12:28:01.997][Database ][Error ] Unable to modify database: Unable to write to the database. Exit code: 1. Let's retry in 1s [12:28:03.008][Database ][Info ] Writing com.docker.driver.amd64-linux/net/config=static [12:28:03.008][Database ][Info ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2 [12:28:03.008][Database ][Info ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0 [12:28:03.008][Database ][Info ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1 [12:28:03.008][Database ][Info ] Writing com.docker.driver.amd64-linux/network=hybrid [12:28:03.008][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[], "debug":true, "experimental": true} [12:28:03.008][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf= [12:28:03.008][Database ][Info ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true [12:28:04.293][Database ][Error ] 2017/06/14 12:28:03 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:03 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:03 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:03 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:03 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:03 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:03 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:03 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:03 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:04 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:04 Failed to contact the database on \.\pipe\dockerDataBase: open \.\pipe\dockerDataBase: The system cannot find the file specified.

[12:28:04.293][Database ][Error ] Unable to modify database: Unable to write to the database. Exit code: 1. Let's retry in 1s [12:28:05.315][Database ][Info ] Writing com.docker.driver.amd64-linux/net/config=static [12:28:05.315][Database ][Info ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2 [12:28:05.315][Database ][Info ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0 [12:28:05.315][Database ][Info ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1 [12:28:05.315][Database ][Info ] Writing com.docker.driver.amd64-linux/network=hybrid [12:28:05.315][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[], "debug":true, "experimental": true} [12:28:05.315][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf= [12:28:05.315][Database ][Info ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true [12:28:06.430][Database ][Error ] 2017/06/14 12:28:05 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:05 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:05 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:05 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:05 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:05 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:06 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:06 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:06 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:06 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:06 Failed to contact the database on \.\pipe\dockerDataBase: open \.\pipe\dockerDataBase: The system cannot find the file specified.

[12:28:06.430][Database ][Error ] Unable to modify database: Unable to write to the database. Exit code: 1. Let's retry in 1s [12:28:07.453][Database ][Info ] Writing com.docker.driver.amd64-linux/net/config=static [12:28:07.453][Database ][Info ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2 [12:28:07.453][Database ][Info ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0 [12:28:07.453][Database ][Info ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1 [12:28:07.453][Database ][Info ] Writing com.docker.driver.amd64-linux/network=hybrid [12:28:07.453][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[], "debug":true, "experimental": true} [12:28:07.453][Database ][Info ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf= [12:28:07.453][Database ][Info ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true [12:28:08.585][Database ][Error ] 2017/06/14 12:28:07 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:07 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:07 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:07 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:07 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:08 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:08 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:08 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:08 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:08 Retry dialing \.\pipe\dockerDataBase in 100ms 2017/06/14 12:28:08 Failed to contact the database on \.\pipe\dockerDataBase: open \.\pipe\dockerDataBase: The system cannot find the file specified.

[12:28:08.585][PowerMode ][Info ] Stop [12:28:08.585][HyperV ][Info ] Stop [12:28:08.585][PowerShell ][Info ] Run script with parameters: -Stop True... [12:28:08.601][HyperV ][Info ] Script started at 12:28:08.601 [12:28:08.617][HyperV ][Info ] Module loaded at 12:28:08.617 [12:28:08.695][HyperV ][Info ] VM MobyLinuxVM is stopped [12:28:08.695][HyperV ][Debug ] [stop] took 00:00:00.1100610 to run [12:28:08.695][OptimizeDisk ][Info ] Optimize [12:28:08.695][PowerShell ][Info ] Run script... [12:28:10.110][Moby ][Info ] Stop [12:28:10.110][HyperV ][Info ] Destroy [12:28:10.110][PowerShell ][Info ] Run script with parameters: -Destroy True -KeepVolume True... [12:28:10.142][HyperV ][Info ] Script started at 12:28:10.142 [12:28:10.173][HyperV ][Info ] Module loaded at 12:28:10.173 [12:28:10.205][HyperV ][Info ] VM MobyLinuxVM is stopped [12:28:10.205][HyperV ][Info ] Destroying Switch DockerNAT... [12:28:11.352][HyperV ][Info ] Removing VM MobyLinuxVM... [12:28:11.524][HyperV ][Debug ] [destroy] took 00:00:01.4142054 to run [12:28:11.524][Firewall ][Info ] Closing ports... [12:28:11.524][Firewall ][Info ] Removing all existing rules... [12:28:11.587][Firewall ][Info ] All existing rules are removed. [12:28:11.587][Firewall ][Info ] Ports are closed [12:28:11.587][HyperVGuids ][Info ] Removing GUIDs... [12:28:11.587][HyperVGuids ][Info ] GUIDs removed [12:28:11.697][NamedPipeClient][Error ] Unable to send Start: Unable to write to the database. Exit code: 1 [12:28:11.697][Notifications ][Error ] Unable to write to the database. Exit code: 1 [12:28:11.681][NamedPipeServer][Error ] Unable to execute Start: Unable to write to the database. Exit code: 1 at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 247 at Docker.Backend.ContainerEngine.Linux.Start(Settings settings) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 123 at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47 at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145 [12:28:11.729][CrashReport ][Info ] Preparing package to send with the diagnostics [12:28:11.729][NamedPipeClient][Info ] Sending GetDebugInfo()... [12:28:11.729][NamedPipeClient][Info ] Sending DownloadVpnKitLogs(C:\Users\vijay\AppData\Local\Temp\2\34aqiwsj.vos\pcap.tar)... [12:28:11.744][NamedPipeServer][Info ] GetDebugInfo() [12:28:11.776][CrashReport ][Warning] Unable to collect features settings: Could not find file 'C:\Users\vijay\AppData\Roaming\Docker\already-enabled-features.json'. [12:28:11.791][CrashReport ][Warning] Unable to collect features settings: Could not find file 'C:\Users\vijay\AppData\Roaming\Docker\features-overrides.json'. [12:28:11.791][NamedPipeClient][Info ] Sending DownloadVmLogs(C:\Users\vijay\AppData\Local\Temp\2\34aqiwsj.vos\mobyLogs.tar)... [12:28:11.791][NamedPipeClient][Info ] Sending DownloadWinContainersDebugInfo(C:\Users\vijay\AppData\Local\Temp\2\34aqiwsj.vos\win_containers)... [12:28:11.791][NamedPipeClient][Info ] Received response for DownloadVpnKitLogs [12:28:11.791][NamedPipeServer][Info ] DownloadVpnKitLogs(C:\Users\vijay\AppData\Local\Temp\2\34aqiwsj.vos\pcap.tar) [12:28:11.791][VpnKit ][Warning] Unable to download logs: The operation has timed out. [12:28:11.791][NamedPipeServer][Info ] DownloadVpnKitLogs done in 00:00:00. [12:28:11.807][NamedPipeServer][Info ] DownloadWinContainersDebugInfo(C:\Users\vijay\AppData\Local\Temp\2\34aqiwsj.vos\win_containers) [12:28:11.823][NamedPipeServer][Info ] DownloadVmLogs(C:\Users\vijay\AppData\Local\Temp\2\34aqiwsj.vos\mobyLogs.tar) [12:28:11.823][PowerShell ][Info ] Run script '(Get-VM MobyLinuxVM).Id.Guid'... [12:28:11.948][NamedPipeClient][Info ] Received response for DownloadVmLogs [12:28:11.948][HyperV ][Warning] Unable to download logs: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V was unable to find a virtual machine with name "MobyLinuxVM". [12:28:11.948][NamedPipeServer][Info ] DownloadVmLogs done in 00:00:00.1256453. [12:28:31.616][NamedPipeClient][Info ] Received response for DownloadWinContainersDebugInfo [12:28:31.616][NamedPipeServer][Info ] DownloadWinContainersDebugInfo done in 00:00:19.8085711. [12:28:37.636][ErrorReportWindow][Info ] Open logs

VijayJustinMohd avatar Jun 14 '17 12:06 VijayJustinMohd

I solved this issue by uninstalling Web Companion. Spyware can be a potential issue for named pipe communication so make sure you have no spyware installed

kostapsimoulis avatar Jun 15 '17 17:06 kostapsimoulis

Hi @VijayJustinMohd It looks like you're using the Edge build - can you try again on the latest build?

jasonbivins avatar Jun 28 '17 14:06 jasonbivins

@kostapsimoulis solution helped me, i had installed web companion and uninstalling that solved the problem.

GomesNayagam avatar Aug 10 '17 18:08 GomesNayagam

I have also the same issue! And solved by uninstalling Web Companion as @kostapsimoulis mention! Thanks @kostapsimoulis !

jujulal avatar Aug 16 '17 04:08 jujulal

well i can confirm, uninstalling web companion makes it work :O thanks for the hint @kostapsimoulis

iceweird avatar Aug 16 '17 09:08 iceweird

i uninstalled web companion and the error persists

lucarv avatar Nov 30 '17 07:11 lucarv

both the latest stable and edge version don's use the database anymore. Please retry with the latest versions.

rn avatar Mar 08 '18 17:03 rn

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jun 22 '20 03:06 docker-robott