{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-win/issues/1090","repository_url":"https://api.github.com/repos/docker/for-win","labels_url":"https://api.github.com/repos/docker/for-win/issues/1090/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-win/issues/1090/comments","events_url":"https://api.github.com/repos/docker/for-win/issues/1090/events","html_url":"https://github.com/docker/for-win/issues/1090","id":257365811,"number":1090,"title":"Windows 10 Docker Installation Problems","user":{"login":"chrisalex2","id":31921000,"avatar_url":"https://avatars2.githubusercontent.com/u/31921000?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisalex2","html_url":"https://github.com/chrisalex2","followers_url":"https://api.github.com/users/chrisalex2/followers","following_url":"https://api.github.com/users/chrisalex2/following{/other_user}","gists_url":"https://api.github.com/users/chrisalex2/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisalex2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisalex2/subscriptions","organizations_url":"https://api.github.com/users/chrisalex2/orgs","repos_url":"https://api.github.com/users/chrisalex2/repos","events_url":"https://api.github.com/users/chrisalex2/events{/privacy}","received_events_url":"https://api.github.com/users/chrisalex2/received_events","type":"User","site_admin":false},"labels":[{"id":415754678,"url":"https://api.github.com/repos/docker/for-win/labels/area/gui","name":"area/gui","color":"fbca04","default":false},{"id":424967597,"url":"https://api.github.com/repos/docker/for-win/labels/area/hyper-v","name":"area/hyper-v","color":"fbca04","default":false},{"id":415755103,"url":"https://api.github.com/repos/docker/for-win/labels/area/windows","name":"area/windows","color":"fbca04","default":false},{"id":463833261,"url":"https://api.github.com/repos/docker/for-win/labels/status/0-triage","name":"status/0-triage","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-13T12:41:59Z","updated_at":"2017-09-13T15:10:25Z","closed_at":null,"author_association":"NONE","body":"### Expected behavior\r\n\r\nExpect Docker to start after installation.\r\n\r\n### Actual behavior\r\n\r\nI have enable Hyper-V in windows through 3 different ways:\r\n\r\n- I have turned it on under windows features\r\n- I have run this in admin powershell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All\r\n- I have run this in admin powershell:  dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All\r\n\r\nDocker installs perfectly, but when I try to launch it I get the following error: \r\n\r\n```\r\nUnable to start: The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter is set to Stop: 'MobyLinuxVM' failed to start.\r\n\r\n'MobyLinuxVM' could not initialize.\r\n\r\n'MobyLinuxVM' failed to start. (Virtual machine ID A5BD275F-EEA8-408F-B5C4-D234390A85E9)\r\n\r\n'MobyLinuxVM' could not initialize. (Virtual machine ID A5BD275F-EEA8-408F-B5C4-D234390A85E9)\r\nat Start-MobyLinuxVM, <No file>: line 291\r\nat <ScriptBlock>, <No file>: line 386\r\n   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\r\n   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\r\n   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) in C:\\gopath\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Core\\pipe\\NamedPipeServer.cs:line 47\r\n   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\r\n```\r\n\r\nI then view the logs and get the following: \r\n\r\n```\r\nVersion: 17.06.2-ce-win27 (13194)\r\nChannel: stable\r\nSha1: 428bd6ceae2994bd2fc2a72ec122507abe2cf526\r\nStarted on: 2017/09/13 14:27:45.672\r\nResources: C:\\Program Files\\Docker\\Docker\\Resources\r\nOS: Windows 10 Enterprise\r\nEdition: Enterprise\r\nId: 1511\r\nBuild: 10586\r\nBuildLabName: 10586.1045.amd64fre.th2_release.170728-1941\r\nFile: C:\\Users\\christop42\\AppData\\Local\\Docker\\log.txt\r\nCommandLine: \"C:\\Program Files\\Docker\\Docker\\Docker for Windows.exe\" \r\nYou can send feedback, including this log file, at https://github.com/docker/for-win/issues\r\n[14:27:46.259][GUI            ][Info   ] Starting...\r\n[14:27:51.240][Tracking       ][Info   ] Crash report and usage statistics are enabled\r\n[14:27:51.243][SegmentApi     ][Info   ] Usage statistic: appLaunched\r\n[14:27:51.391][NamedPipeClient][Info   ] Sending Version()...\r\n[14:27:51.415][NamedPipeClient][Info   ] Received response for Version\r\n[14:27:51.418][SegmentApi     ][Info   ] Usage statistic: heartbeat\r\n[14:27:27.988][BackendServer  ][Info   ] Started\r\n[14:27:51.412][NamedPipeServer][Info   ] Version()\r\n[14:27:51.412][NamedPipeServer][Info   ] Version done in 00:00:00.\r\n[14:27:51.923][Notifications  ][Info   ] Docker is starting...\r\n[14:27:52.123][NamedPipeClient][Info   ] Sending Start(Docker.Core.Settings)...\r\n[14:27:52.126][NamedPipeServer][Info   ] Start(Docker.Core.Settings)\r\n[14:27:52.130][PowerMode      ][Info   ] Stop\r\n[14:27:52.186][HyperV         ][Info   ] Stop\r\n[14:27:52.223][PowerShell     ][Info   ] Run script with parameters: -Stop True...\r\n[14:27:52.228][PowerShell     ][Info   ] Creating a Runspace Pool...\r\n[14:27:54.332][PowerShell     ][Info   ] Runspace Pool created (Min=1, Max=2)\r\n[14:27:54.993][HyperV         ][Info   ] Script started at 14:27:54.938\r\n[14:27:58.895][HyperV         ][Info   ] Module loaded at 14:27:58.895\r\n[14:27:59.437][HyperV         ][Info   ] VM MobyLinuxVM does not exist\r\n[14:27:59.440][HyperV         ][Debug  ] [stop] took 00:00:07.2514552 to run\r\n[14:27:59.441][OptimizeDisk   ][Info   ] Optimize\r\n[14:27:59.441][PowerShell     ][Info   ] Run script...\r\n[14:27:59.515][Moby           ][Info   ] Stop\r\n[14:27:59.522][HyperVGuids    ][Info   ] Installing GUIDs...\r\n[14:27:59.522][PowerMode      ][Info   ] Start\r\n[14:27:59.523][HyperV         ][Info   ] Create\r\n[14:27:59.524][PowerShell     ][Info   ] Run script with parameters: -Create True -VhdPathOverride  -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\\Program Files\\Docker\\Docker\\Resources\\mobylinux.iso...\r\n[14:27:59.525][HyperVGuids    ][Info   ] GUIDs installed\r\n[14:27:59.536][HyperV         ][Info   ] Script started at 14:27:59.535\r\n[14:27:59.546][Firewall       ][Info   ] Removing all existing rules...\r\n[14:27:59.587][Firewall       ][Info   ] All existing rules are removed.\r\n[14:27:59.587][Firewall       ][Info   ] Opening ports for C:\\Program Files\\Docker\\Docker\\Resources\\com.docker.proxy.exe...\r\n[14:27:59.594][Firewall       ][Info   ] Opening ports for SMB...\r\n[14:27:59.599][HyperV         ][Info   ] Module loaded at 14:27:59.599\r\n[14:27:59.601][Firewall       ][Info   ] Ports are opened\r\n[14:27:59.882][HyperV         ][Info   ] Enabled workaround for Build 10586 VMSwitch issue\r\n[14:28:02.419][HyperV         ][Info   ] Creating Switch: DockerNAT...\r\n[14:28:03.930][HyperV         ][Info   ] Switch created.\r\n[14:28:05.216][HyperV         ][Info   ] Set IP address on switch\r\n[14:28:06.362][HyperV         ][Info   ] Creating VM MobyLinuxVM...\r\n[14:28:07.096][HyperV         ][Info   ] Setting CPUs to 2 and Memory to 2048 MB\r\n[14:28:07.307][HyperV         ][Info   ] Creating dynamic VHD: C:\\Users\\Public\\Documents\\Hyper-V\\Virtual Hard Disks\\MobyLinuxVM.vhdx\r\n[14:28:08.401][HyperV         ][Info   ] Attach VHD C:\\Users\\Public\\Documents\\Hyper-V\\Virtual Hard Disks\\MobyLinuxVM.vhdx\r\n[14:28:08.826][HyperV         ][Info   ] Connect Internal Switch DockerNAT\r\n[14:28:09.266][HyperV         ][Info   ] Attach DVD C:\\Program Files\\Docker\\Docker\\Resources\\mobylinux.iso\r\n[14:28:09.781][HyperV         ][Info   ] Disabled Guest Service Interface\r\n[14:28:09.799][HyperV         ][Info   ] Enabled Heartbeat\r\n[14:28:09.820][HyperV         ][Info   ] Disabled Key-Value Pair Exchange\r\n[14:28:09.837][HyperV         ][Info   ] Enabled Shutdown\r\n[14:28:09.847][HyperV         ][Info   ] Enabled Time Synchronization\r\n[14:28:09.860][HyperV         ][Info   ] Disabled VSS\r\n[14:28:10.068][HyperV         ][Info   ] VM created.\r\n[14:28:10.068][HyperV         ][Debug  ] [create] took 00:00:10.5445204 to run\r\n[14:28:10.069][PowerShell     ][Info   ] Run script '(Get-VM MobyLinuxVM).Id.Guid'...\r\n[14:28:10.421][Database       ][Info   ] Generating CA Cert Bundle\r\n[14:28:10.457][Database       ][Info   ] CA Cert Bundle Generated\r\n[14:28:10.595][DataKit        ][Info   ] Starting com.docker.db.exe 0.7.0-34-g6f04213 ...\r\n\r\n[14:28:10.637][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/config=static\r\n[14:28:10.637][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2\r\n[14:28:10.637][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0\r\n[14:28:10.637][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1\r\n[14:28:10.637][Database       ][Info   ] Writing com.docker.driver.amd64-linux/network=hybrid\r\n[14:28:10.637][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={\"registry-mirrors\":[],\"insecure-registries\":[], \"debug\":true, \"experimental\": true}\r\n[14:28:10.637][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf=\r\n[14:28:10.637][Database       ][Info   ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true\r\n[14:28:10.662][DataKit        ][Error  ] com.docker.db.exe: Named-pipe connection failed on \\\\.\\pipe\\dockerDataBase: Unix.Unix_error(Unix.EPIPE, \"connect\", \"\")\r\n\r\n[14:28:10.851][DataKit        ][Info   ] com.docker.db.exe: accepted a new connection on \\\\.\\pipe\\dockerDataBase\r\n\r\n[14:28:10.853][DataKit        ][Info   ] com.docker.db.exe: Using protocol TwoThousand msize 16384\r\n\r\n[14:28:11.269][Database       ][Info   ] Successfully wrote 8 value(s)\r\n[14:28:11.270][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/ssl/certs/ca-certificates.crt=C:\\windows\\TEMP\\tmpEA24.tmp\r\n[14:28:11.342][DataKit        ][Info   ] com.docker.db.exe: accepted a new connection on \\\\.\\pipe\\dockerDataBase\r\n\r\n[14:28:11.345][DataKit        ][Info   ] com.docker.db.exe: Using protocol TwoThousand msize 16384\r\n\r\n[14:28:11.472][Database       ][Info   ] Successfully wrote value\r\n[14:28:11.478][Moby           ][Info   ] Connecting...\r\n[14:28:11.479][Moby           ][Error  ] Failed to read Moby's logs: The operation has timed out.\r\n[14:28:11.480][HyperV         ][Info   ] Start\r\n[14:28:11.481][PowerShell     ][Info   ] Run script with parameters: -Start True...\r\n[14:28:11.492][PowerShell     ][Info   ] Run script '$(Find-NetRoute -RemoteIPAddress 8.8.8.8).InterfaceIndex[0]'...\r\n[14:28:11.494][HyperV         ][Info   ] Script started at 14:28:11.494\r\n[14:28:11.897][HyperV         ][Info   ] Module loaded at 14:28:11.897\r\n[14:28:11.901][HyperV         ][Info   ] Starting VM MobyLinuxVM...\r\n[14:28:13.188][Database       ][Info   ] Writing com.docker.driver.amd64-linux/slirp/dns=nameserver 172.24.130.12\r\nnameserver 172.24.130.22\r\nsearch ....holdings.co.za\r\nsearch ....co.za\r\nsearch....co.za\r\nsearch holdings.co.za\r\nsearch ....com\r\n[14:28:13.248][DataKit        ][Info   ] com.docker.db.exe: accepted a new connection on \\\\.\\pipe\\dockerDataBase\r\n\r\n[14:28:13.251][DataKit        ][Info   ] com.docker.db.exe: Using protocol TwoThousand msize 16384\r\n\r\n[14:28:13.326][Database       ][Info   ] Successfully wrote 1 value(s)\r\n[14:28:13.780][VpnKit         ][Info   ] vpnkit.exe: Logging to stdout (stdout:true DEBUG:false)\r\n\r\n[14:28:13.780][VpnKit         ][Info   ] vpnkit.exe: Setting handler to ignore all SIGPIPE signals\r\n\r\n[14:28:13.780][VpnKit         ][Info   ] vpnkit.exe: vpnkit version 0ff58b4e14f14a9508fd9f105f30f683949621c8 with hostnet version   uwt version 0.2.0 hvsock version 0.13.0 \r\n\r\n[14:28:13.780][VpnKit         ][Info   ] vpnkit.exe: System SOMAXCONN is 2147483647\r\n\r\n[14:28:13.780][VpnKit         ][Info   ] vpnkit.exe: Will use a listen backlog of 32\r\n\r\n[14:28:13.780][VpnKit         ][Info   ] vpnkit.exe: starting port forwarding server on port_control_url:hyperv-connect://f680f222-cfc5-412e-958e-3e66acd55fb5 vsock_path:\r\n\r\n[14:28:13.780][VpnKit         ][Info   ] vpnkit.exe: connecting to f680f222-cfc5-412e-958e-3e66acd55fb5:0B95756A-9985-48AD-9470-78E060895BE7\r\n\r\n[14:28:13.783][VpnKit         ][Info   ] vpnkit.exe: DNS names  will map to local IP 192.168.65.1\r\n\r\n[14:28:13.783][VpnKit         ][Info   ] vpnkit.exe: 2 upstream DNS servers are configured\r\n\r\n[14:28:13.784][VpnKit         ][Info   ] vpnkit.exe: attempting to reconnect to database\r\n\r\n[14:28:13.784][DataKit        ][Info   ] com.docker.db.exe: accepted a new connection on \\\\.\\pipe\\dockerDataBase\r\n\r\n[14:28:13.785][VpnKit         ][Error  ] vpnkit.exe: While watching /etc/resolv.conf: ENOENT\r\n\r\n[14:28:13.786][DataKit        ][Info   ] com.docker.db.exe: Using protocol TwoThousandU msize 8215\r\n\r\n[14:28:13.787][VpnKit         ][Info   ] vpnkit.exe: reconnected transport layer\r\n\r\n[14:28:13.787][VpnKit         ][Info   ] vpnkit.exe: remove connection limit\r\n\r\n[14:28:13.795][VpnKit         ][Info   ] vpnkit.exe: allowing binds to any IP addresses\r\n\r\n[14:28:13.797][VpnKit         ][Info   ] vpnkit.exe: hosts file has bindings for \r\n\r\n[14:28:13.798][VpnKit         ][Error  ] vpnkit.exe: Failed to parse IPv4 address '', using default of 192.168.65.254\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] vpnkit.exe: updating resolvers to use upstream DNS servers nameserver 172.24.130.22#53\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] nameserver 172.24.130.12#53\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] search ....holdings.co.za\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] vpnkit.exe: Add(3): DNS configuration changed to: use upstream DNS servers nameserver 172.24.130.22#53\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] nameserver 172.24.130.12#53\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] search ....holdings.co.za\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] vpnkit.exe: DNS names docker.for.win.localhost will map to local IP 192.168.65.1\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] vpnkit.exe: 2 upstream DNS servers are configured\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] vpnkit.exe: updating resolvers to use upstream DNS servers nameserver 172.24.130.22#53\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] nameserver 172.24.130.12#53\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] search ...holdings.co.za\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] vpnkit.exe: Remove(3): DNS configuration changed to: use upstream DNS servers nameserver 8.8.8.8#53\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] timeout 2000\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] nameserver 8.8.4.4#53\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] timeout 2000\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] vpnkit.exe: Add(3): DNS configuration changed to: use upstream DNS servers nameserver 172.24.130.22#53\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] nameserver 172.24.130.12#53\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] search....holdings.co.za\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] vpnkit.exe: DNS names docker.for.win.localhost will map to local IP 192.168.65.1\r\n\r\n[14:28:13.800][VpnKit         ][Info   ] vpnkit.exe: 2 upstream DNS servers are configured\r\n\r\n[14:28:13.807][VpnKit         ][Info   ] vpnkit.exe: Disabling transparent HTTP redirection\r\n\r\n[14:28:13.807][VpnKit         ][Info   ] vpnkit.exe: Creating slirp server peer_ip:192.168.65.2 local_ip:192.168.65.1 domain_search:...holdings.co.za mtu:1500 bridge:true\r\n\r\n[14:28:13.807][VpnKit         ][Info   ] vpnkit.exe: connecting to f680f222-cfc5-412e-958e-3e66acd55fb5:30D48B34-7D27-4B0B-AAAF-BBBED334DD59\r\n\r\n[14:28:13.851][Linux          ][Error  ] Failed to start: Unable to start: The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter is set to Stop: 'MobyLinuxVM' failed to start.\r\n\r\n'MobyLinuxVM' could not initialize.\r\n\r\n'MobyLinuxVM' failed to start. (Virtual machine ID F680F222-CFC5-412E-958E-3E66ACD55FB5)\r\n\r\n'MobyLinuxVM' could not initialize. (Virtual machine ID F680F222-CFC5-412E-958E-3E66ACD55FB5)\r\nat Start-MobyLinuxVM, <No file>: line 291\r\nat <ScriptBlock>, <No file>: line 386. Let's retry\r\n[14:28:13.852][PowerShell     ][Info   ] Run script...\r\n[14:28:14.801][HyperV         ][Info   ] Hyper-V is running\r\n[14:28:14.801][PowerMode      ][Info   ] Stop\r\n[14:28:14.803][HyperV         ][Info   ] Stop\r\n[14:28:14.804][PowerShell     ][Info   ] Run script with parameters: -Stop True...\r\n[14:28:14.809][HyperV         ][Info   ] Script started at 14:28:14.809\r\n[14:28:15.106][HyperV         ][Info   ] Module loaded at 14:28:15.106\r\n[14:28:15.135][HyperV         ][Info   ] VM MobyLinuxVM is stopped\r\n[14:28:15.135][HyperV         ][Debug  ] [stop] took 00:00:00.3320446 to run\r\n[14:28:15.135][OptimizeDisk   ][Info   ] Optimize\r\n[14:28:15.135][PowerShell     ][Info   ] Run script...\r\n[14:28:16.406][Moby           ][Info   ] Stop\r\n[14:28:16.414][VpnKit         ][Info   ] Killing existing vpnkit with PID 10592\r\n[14:28:16.420][DataKit        ][Info   ] Killing existing com.docker.db with PID 10548\r\n[14:28:16.426][HyperV         ][Info   ] Destroy\r\n[14:28:16.427][PowerShell     ][Info   ] Run script with parameters: -Destroy True -KeepVolume True...\r\n[14:28:16.434][HyperV         ][Info   ] Script started at 14:28:16.434\r\n[14:28:16.475][HyperV         ][Info   ] Module loaded at 14:28:16.475\r\n[14:28:16.492][HyperV         ][Info   ] VM MobyLinuxVM is stopped\r\n[14:28:16.493][HyperV         ][Info   ] Destroying Switch DockerNAT...\r\n[14:28:17.759][HyperV         ][Info   ] Removing VM MobyLinuxVM...\r\n[14:28:17.823][HyperV         ][Debug  ] [destroy] took 00:00:01.3971540 to run\r\n[14:28:17.823][Firewall       ][Info   ] Closing ports...\r\n[14:28:17.823][Firewall       ][Info   ] Removing all existing rules...\r\n[14:28:17.891][Firewall       ][Info   ] All existing rules are removed.\r\n[14:28:17.891][Firewall       ][Info   ] Ports are closed\r\n[14:28:17.891][HyperVGuids    ][Info   ] Removing GUIDs...\r\n[14:28:17.894][HyperVGuids    ][Info   ] GUIDs removed\r\n[14:28:17.894][HyperV         ][Info   ] Create\r\n[14:28:17.895][PowerShell     ][Info   ] Run script with parameters: -Create True -VhdPathOverride  -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\\Program Files\\Docker\\Docker\\Resources\\mobylinux.iso...\r\n[14:28:17.905][HyperV         ][Info   ] Script started at 14:28:17.905\r\n[14:28:17.957][HyperV         ][Info   ] Module loaded at 14:28:17.957\r\n[14:28:18.019][HyperV         ][Info   ] Enabled workaround for Build 10586 VMSwitch issue\r\n[14:28:19.975][HyperV         ][Info   ] Creating Switch: DockerNAT...\r\n[14:28:21.475][HyperV         ][Info   ] Switch created.\r\n[14:28:22.156][HyperV         ][Info   ] Set IP address on switch\r\n[14:28:22.167][HyperV         ][Info   ] Creating VM MobyLinuxVM...\r\n[14:28:22.626][HyperV         ][Info   ] Setting CPUs to 2 and Memory to 2048 MB\r\n[14:28:22.825][HyperV         ][Info   ] Attach VHD C:\\Users\\Public\\Documents\\Hyper-V\\Virtual Hard Disks\\MobyLinuxVM.vhdx\r\n[14:28:23.110][HyperV         ][Info   ] Connect Internal Switch DockerNAT\r\n[14:28:23.257][HyperV         ][Info   ] Attach DVD C:\\Program Files\\Docker\\Docker\\Resources\\mobylinux.iso\r\n[14:28:23.599][HyperV         ][Info   ] Disabled Guest Service Interface\r\n[14:28:23.613][HyperV         ][Info   ] Enabled Heartbeat\r\n[14:28:23.629][HyperV         ][Info   ] Disabled Key-Value Pair Exchange\r\n[14:28:23.646][HyperV         ][Info   ] Enabled Shutdown\r\n[14:28:23.656][HyperV         ][Info   ] Enabled Time Synchronization\r\n[14:28:23.671][HyperV         ][Info   ] Disabled VSS\r\n[14:28:23.870][HyperV         ][Info   ] VM created.\r\n[14:28:23.870][HyperV         ][Debug  ] [create] took 00:00:05.9755451 to run\r\n[14:28:23.870][PowerMode      ][Info   ] Stop\r\n[14:28:23.871][HyperV         ][Info   ] Stop\r\n[14:28:23.872][PowerShell     ][Info   ] Run script with parameters: -Stop True...\r\n[14:28:23.884][HyperV         ][Info   ] Script started at 14:28:23.883\r\n[14:28:23.919][HyperV         ][Info   ] Module loaded at 14:28:23.919\r\n[14:28:23.940][HyperV         ][Info   ] VM MobyLinuxVM is stopped\r\n[14:28:23.940][HyperV         ][Debug  ] [stop] took 00:00:00.0690063 to run\r\n[14:28:23.940][OptimizeDisk   ][Info   ] Optimize\r\n[14:28:23.940][PowerShell     ][Info   ] Run script...\r\n[14:28:25.236][Moby           ][Info   ] Stop\r\n[14:28:25.245][HyperV         ][Info   ] Create\r\n[14:28:25.245][PowerMode      ][Info   ] Start\r\n[14:28:25.245][HyperVGuids    ][Info   ] Installing GUIDs...\r\n[14:28:25.245][Firewall       ][Info   ] Removing all existing rules...\r\n[14:28:25.246][PowerShell     ][Info   ] Run script with parameters: -Create True -VhdPathOverride  -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\\Program Files\\Docker\\Docker\\Resources\\mobylinux.iso...\r\n[14:28:25.247][HyperVGuids    ][Info   ] GUIDs installed\r\n[14:28:25.265][Firewall       ][Info   ] All existing rules are removed.\r\n[14:28:25.265][Firewall       ][Info   ] Opening ports for C:\\Program Files\\Docker\\Docker\\Resources\\com.docker.proxy.exe...\r\n[14:28:25.269][Firewall       ][Info   ] Opening ports for SMB...\r\n[14:28:25.270][HyperV         ][Info   ] Script started at 14:28:25.270\r\n[14:28:25.273][Firewall       ][Info   ] Ports are opened\r\n[14:28:25.313][HyperV         ][Info   ] Module loaded at 14:28:25.313\r\n[14:28:25.461][HyperV         ][Info   ] Using existing Switch: DockerNAT\r\n[14:28:28.121][HyperV         ][Info   ] Using existing Switch IP address\r\n[14:28:28.146][HyperV         ][Info   ] Setting CPUs to 2 and Memory to 2048 MB\r\n[14:28:28.246][HyperV         ][Info   ] Connect Internal Switch DockerNAT\r\n[14:28:28.738][HyperV         ][Info   ] Disabled Guest Service Interface\r\n[14:28:28.754][HyperV         ][Info   ] Enabled Heartbeat\r\n[14:28:28.769][HyperV         ][Info   ] Disabled Key-Value Pair Exchange\r\n[14:28:28.783][HyperV         ][Info   ] Enabled Shutdown\r\n[14:28:28.798][HyperV         ][Info   ] Enabled Time Synchronization\r\n[14:28:28.812][HyperV         ][Info   ] Disabled VSS\r\n[14:28:28.892][HyperV         ][Info   ] VM created.\r\n[14:28:28.892][HyperV         ][Debug  ] [create] took 00:00:03.6472527 to run\r\n[14:28:28.892][PowerShell     ][Info   ] Run script '(Get-VM MobyLinuxVM).Id.Guid'...\r\n[14:28:28.930][Database       ][Info   ] Generating CA Cert Bundle\r\n[14:28:28.956][Database       ][Info   ] CA Cert Bundle Generated\r\n[14:28:29.003][DataKit        ][Info   ] Starting com.docker.db.exe 0.7.0-34-g6f04213 ...\r\n\r\n[14:28:29.014][DataKit        ][Info   ] com.docker.db.exe: accepted a new connection on \\\\.\\pipe\\dockerDataBase\r\n\r\n[14:28:29.015][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/config=static\r\n[14:28:29.015][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2\r\n[14:28:29.015][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0\r\n[14:28:29.015][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1\r\n[14:28:29.015][Database       ][Info   ] Writing com.docker.driver.amd64-linux/network=hybrid\r\n[14:28:29.015][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={\"registry-mirrors\":[],\"insecure-registries\":[], \"debug\":true, \"experimental\": true}\r\n[14:28:29.015][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf=\r\n[14:28:29.015][Database       ][Info   ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true\r\n[14:28:29.091][DataKit        ][Info   ] com.docker.db.exe: accepted a new connection on \\\\.\\pipe\\dockerDataBase\r\n\r\n[14:28:29.094][DataKit        ][Info   ] com.docker.db.exe: Using protocol TwoThousand msize 16384\r\n\r\n[14:28:29.500][Database       ][Info   ] Successfully wrote 8 value(s)\r\n[14:28:29.500][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/ssl/certs/ca-certificates.crt=C:\\windows\\TEMP\\tmp3278.tmp\r\n[14:28:29.572][DataKit        ][Info   ] com.docker.db.exe: accepted a new connection on \\\\.\\pipe\\dockerDataBase\r\n\r\n[14:28:29.574][DataKit        ][Info   ] com.docker.db.exe: Using protocol TwoThousand msize 16384\r\n\r\n[14:28:29.705][Database       ][Info   ] Successfully wrote value\r\n[14:28:29.707][Moby           ][Info   ] Connecting...\r\n[14:28:29.707][Moby           ][Error  ] Failed to read Moby's logs: The operation has timed out.\r\n[14:28:29.707][HyperV         ][Info   ] Start\r\n[14:28:29.707][PowerShell     ][Info   ] Run script '$(Find-NetRoute -RemoteIPAddress 8.8.8.8).InterfaceIndex[0]'...\r\n[14:28:29.708][PowerShell     ][Info   ] Run script with parameters: -Start True...\r\n[14:28:29.715][HyperV         ][Info   ] Script started at 14:28:29.715\r\n[14:28:29.753][Database       ][Info   ] Writing com.docker.driver.amd64-linux/slirp/dns=nameserver 172.24.130.12\r\nnameserver 172.24.130.22\r\nsearch....holdings.co.za\r\nsearch ....co.za\r\nsearch ....co.za\r\nsearch holdings.co.za\r\nsearch ....com\r\n[14:28:29.768][HyperV         ][Info   ] Module loaded at 14:28:29.768\r\n[14:28:29.769][HyperV         ][Info   ] Starting VM MobyLinuxVM...\r\n[14:28:29.843][DataKit        ][Info   ] com.docker.db.exe: accepted a new connection on \\\\.\\pipe\\dockerDataBase\r\n\r\n[14:28:29.847][DataKit        ][Info   ] com.docker.db.exe: Using protocol TwoThousand msize 16384\r\n\r\n[14:28:29.956][Database       ][Info   ] Successfully wrote 1 value(s)\r\n[14:28:30.082][VpnKit         ][Info   ] vpnkit.exe: Logging to stdout (stdout:true DEBUG:false)\r\n\r\n[14:28:30.082][VpnKit         ][Info   ] vpnkit.exe: Setting handler to ignore all SIGPIPE signals\r\n\r\n[14:28:30.082][VpnKit         ][Info   ] vpnkit.exe: vpnkit version 0ff58b4e14f14a9508fd9f105f30f683949621c8 with hostnet version   uwt version 0.2.0 hvsock version 0.13.0 \r\n\r\n[14:28:30.082][VpnKit         ][Info   ] vpnkit.exe: System SOMAXCONN is 2147483647\r\n\r\n[14:28:30.093][VpnKit         ][Info   ] vpnkit.exe: Will use a listen backlog of 32\r\n\r\n[14:28:30.093][VpnKit         ][Info   ] vpnkit.exe: starting port forwarding server on port_control_url:hyperv-connect://a5bd275f-eea8-408f-b5c4-d234390a85e9 vsock_path:\r\n\r\n[14:28:30.093][VpnKit         ][Info   ] vpnkit.exe: connecting to a5bd275f-eea8-408f-b5c4-d234390a85e9:0B95756A-9985-48AD-9470-78E060895BE7\r\n\r\n[14:28:30.093][VpnKit         ][Info   ] vpnkit.exe: DNS names  will map to local IP 192.168.65.1\r\n\r\n[14:28:30.093][VpnKit         ][Info   ] vpnkit.exe: 2 upstream DNS servers are configured\r\n\r\n[14:28:30.093][VpnKit         ][Info   ] vpnkit.exe: attempting to reconnect to database\r\n\r\n[14:28:30.093][VpnKit         ][Error  ] vpnkit.exe: While watching /etc/resolv.conf: ENOENT\r\n\r\n[14:28:30.093][VpnKit         ][Info   ] vpnkit.exe: hosts file has bindings for \r\n\r\n[14:28:30.093][VpnKit         ][Info   ] vpnkit.exe: reconnected transport layer\r\n\r\n[14:28:30.093][DataKit        ][Info   ] com.docker.db.exe: accepted a new connection on \\\\.\\pipe\\dockerDataBase\r\n\r\n[14:28:30.093][DataKit        ][Info   ] com.docker.db.exe: Using protocol TwoThousandU msize 8215\r\n\r\n[14:28:30.093][VpnKit         ][Info   ] vpnkit.exe: remove connection limit\r\n\r\n[14:28:30.099][VpnKit         ][Info   ] vpnkit.exe: allowing binds to any IP addresses\r\n\r\n[14:28:30.104][VpnKit         ][Error  ] vpnkit.exe: Failed to parse IPv4 address '', using default of 192.168.65.254\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] vpnkit.exe: updating resolvers to use upstream DNS servers nameserver 172.24.130.22#53\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] nameserver 172.24.130.12#53\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] search ....holdings.co.za\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] vpnkit.exe: Add(3): DNS configuration changed to: use upstream DNS servers nameserver 172.24.130.22#53\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] nameserver 172.24.130.12#53\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] search ....holdings.co.za\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] vpnkit.exe: DNS names docker.for.win.localhost will map to local IP 192.168.65.1\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] vpnkit.exe: 2 upstream DNS servers are configured\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] vpnkit.exe: updating resolvers to use upstream DNS servers nameserver 172.24.130.22#53\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] nameserver 172.24.130.12#53\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] search ...holdings.co.za\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] vpnkit.exe: Remove(3): DNS configuration changed to: use upstream DNS servers nameserver 8.8.8.8#53\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] timeout 2000\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] nameserver 8.8.4.4#53\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] timeout 2000\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] vpnkit.exe: Add(3): DNS configuration changed to: use upstream DNS servers nameserver 172.24.130.22#53\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] nameserver 172.24.130.12#53\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] order 0\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] search ....holdings.co.za\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] vpnkit.exe: DNS names docker.for.win.localhost will map to local IP 192.168.65.1\r\n\r\n[14:28:30.105][VpnKit         ][Info   ] vpnkit.exe: 2 upstream DNS servers are configured\r\n\r\n[14:28:30.111][VpnKit         ][Info   ] vpnkit.exe: Disabling transparent HTTP redirection\r\n\r\n[14:28:30.111][VpnKit         ][Info   ] vpnkit.exe: Creating slirp server peer_ip:192.168.65.2 local_ip:192.168.65.1 domain_search:...holdings.co.za mtu:1500 bridge:true\r\n\r\n[14:28:30.111][VpnKit         ][Info   ] vpnkit.exe: connecting to a5bd275f-eea8-408f-b5c4-d234390a85e9:30D48B34-7D27-4B0B-AAAF-BBBED334DD59\r\n\r\n[14:28:30.448][PowerMode      ][Info   ] Stop\r\n[14:28:30.448][HyperV         ][Info   ] Stop\r\n[14:28:30.449][PowerShell     ][Info   ] Run script with parameters: -Stop True...\r\n[14:28:30.456][HyperV         ][Info   ] Script started at 14:28:30.456\r\n[14:28:30.515][HyperV         ][Info   ] Module loaded at 14:28:30.515\r\n[14:28:30.530][HyperV         ][Info   ] VM MobyLinuxVM is stopped\r\n[14:28:30.530][HyperV         ][Debug  ] [stop] took 00:00:00.0820036 to run\r\n[14:28:30.530][OptimizeDisk   ][Info   ] Optimize\r\n[14:28:30.530][PowerShell     ][Info   ] Run script...\r\n[14:28:31.839][Moby           ][Info   ] Stop\r\n[14:28:31.843][VpnKit         ][Info   ] Killing existing vpnkit with PID 11556\r\n[14:28:31.850][DataKit        ][Info   ] Killing existing com.docker.db with PID 5060\r\n[14:28:31.854][HyperV         ][Info   ] Destroy\r\n[14:28:31.855][PowerShell     ][Info   ] Run script with parameters: -Destroy True -KeepVolume True...\r\n[14:28:31.862][HyperV         ][Info   ] Script started at 14:28:31.862\r\n[14:28:31.909][HyperV         ][Info   ] Module loaded at 14:28:31.909\r\n[14:28:31.923][HyperV         ][Info   ] VM MobyLinuxVM is stopped\r\n[14:28:31.924][HyperV         ][Info   ] Destroying Switch DockerNAT...\r\n[14:28:33.173][HyperV         ][Info   ] Removing VM MobyLinuxVM...\r\n[14:28:33.231][HyperV         ][Debug  ] [destroy] took 00:00:01.3770976 to run\r\n[14:28:33.232][Firewall       ][Info   ] Closing ports...\r\n[14:28:33.232][Firewall       ][Info   ] Removing all existing rules...\r\n[14:28:33.293][Firewall       ][Info   ] All existing rules are removed.\r\n[14:28:33.293][Firewall       ][Info   ] Ports are closed\r\n[14:28:33.293][HyperVGuids    ][Info   ] Removing GUIDs...\r\n[14:28:33.294][HyperVGuids    ][Info   ] GUIDs removed\r\n[14:28:33.321][NamedPipeServer][Error  ] Unable to execute Start: Unable to start: The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter is set to Stop: 'MobyLinuxVM' failed to start.\r\n\r\n'MobyLinuxVM' could not initialize.\r\n\r\n'MobyLinuxVM' failed to start. (Virtual machine ID A5BD275F-EEA8-408F-B5C4-D234390A85E9)\r\n\r\n'MobyLinuxVM' could not initialize. (Virtual machine ID A5BD275F-EEA8-408F-B5C4-D234390A85E9)\r\nat Start-MobyLinuxVM, <No file>: line 291\r\nat <ScriptBlock>, <No file>: line 386    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\r\n   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\r\n   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) in C:\\gopath\\src\\github.com\\docker\\pinata\\win\\src\\Docker.Core\\pipe\\NamedPipeServer.cs:line 47\r\n   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\r\n[14:28:33.679][NamedPipeClient][Error  ] Unable to send Start: Unable to start: The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter is set to Stop: 'MobyLinuxVM' failed to start.\r\n\r\n'MobyLinuxVM' could not initialize.\r\n\r\n'MobyLinuxVM' failed to start. (Virtual machine ID A5BD275F-EEA8-408F-B5C4-D234390A85E9)\r\n\r\n'MobyLinuxVM' could not initialize. (Virtual machine ID A5BD275F-EEA8-408F-B5C4-D234390A85E9)\r\nat Start-MobyLinuxVM, <No file>: line 291\r\nat <ScriptBlock>, <No file>: line 386\r\n[14:28:33.681][Notifications  ][Error  ] Unable to start: The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter is set to Stop: 'MobyLinuxVM' failed to start.\r\n\r\n'MobyLinuxVM' could not initialize.\r\n\r\n'MobyLinuxVM' failed to start. (Virtual machine ID A5BD275F-EEA8-408F-B5C4-D234390A85E9)\r\n\r\n'MobyLinuxVM' could not initialize. (Virtual machine ID A5BD275F-EEA8-408F-B5C4-D234390A85E9)\r\nat Start-MobyLinuxVM, <No file>: line 291\r\nat <ScriptBlock>, <No file>: line 386\r\n[14:29:40.423][ErrorReportWindow][Info   ] Open logs\r\n```\r\n\r\n### Steps to reproduce the behavior\r\n\r\n  1. Enable Hyper-V\r\n  2. Install Docker\r\n  3. Run docker\r\n\r\n![docker startup](https://user-images.githubusercontent.com/31921000/30377765-446751e0-9891-11e7-8b0a-4ba56164fc10.PNG)"},"comment":{"url":"https://api.github.com/repos/docker/for-win/issues/comments/329198960","html_url":"https://github.com/docker/for-win/issues/1090#issuecomment-329198960","issue_url":"https://api.github.com/repos/docker/for-win/issues/1090","id":329198960,"user":{"login":"chrisalex2","id":31921000,"avatar_url":"https://avatars2.githubusercontent.com/u/31921000?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisalex2","html_url":"https://github.com/chrisalex2","followers_url":"https://api.github.com/users/chrisalex2/followers","following_url":"https://api.github.com/users/chrisalex2/following{/other_user}","gists_url":"https://api.github.com/users/chrisalex2/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisalex2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisalex2/subscriptions","organizations_url":"https://api.github.com/users/chrisalex2/orgs","repos_url":"https://api.github.com/users/chrisalex2/repos","events_url":"https://api.github.com/users/chrisalex2/events{/privacy}","received_events_url":"https://api.github.com/users/chrisalex2/received_events","type":"User","site_admin":false},"created_at":"2017-09-13T15:10:23Z","updated_at":"2017-09-13T15:10:23Z","author_association":"NONE","body":"Hi Jason\r\n\r\nThanks for getting back to me. I have just tried doing that and unfortunately can not get the generic vm to start. It gives me an error saying that the VM failed to initialise.\r\n\r\nI also tried using the docker Linux image on a hyper-v vm and it is the same problem.\r\n\r\nBest Regards\r\nChristopher Salerno\r\n\r\nOn 13 Sep 2017, at 17:05, Jason Bivins <notifications@github.com<mailto:notifications@github.com>> wrote:\r\n\r\n\r\nHi @chrisalex2<https://github.com/chrisalex2> If you don't already have one, can you create a new generic vm using Hyper-V\r\nThen make sure you can start it and connect to it.\r\n\r\n—\r\nYou are receiving this because you were mentioned.\r\nReply to this email directly, view it on GitHub<https://github.com/docker/for-win/issues/1090#issuecomment-329197477>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AecTaArInsOkK4lrVV4fopOwaOLvfAQyks5sh-9GgaJpZM4PWC_a>.\r\n"}}
{"actor":{"display_login":"chrisalex2"}}