docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.86k stars 287 forks source link

Start-MobyLinuxVM <No file>: line 315 #1820

Closed macknight closed 5 years ago

macknight commented 6 years ago

Expected behavior

MobyLinuxVM should start

Actual behavior

MobyLinuxVM stopped with error

Diagnostic ID

1FAF625C-185E-4C13-BC71-A828B31FF0E5/2018-03-12_18-24-57

Information

Version: 17.12.0-ce-win47 (15139) Channel: stable Sha1: 9c692cd5b38166289573183371647d915f300292 Started on: 2018/03/12 18:34:01.010 Resources: C:\Program Files\Docker\Docker\Resources OS: Windows 10 Enterprise Edition: Enterprise Id: 1703 Build: 15063 BuildLabName: 15063.0.amd64fre.rs2_release.170317-1834 File: C:\Users\I350095\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 [18:34:01.120][GUI ][Info ] Starting... [18:34:01.952][Tracking ][Info ] Crash report and usage statistics are enabled [18:34:01.955][SegmentApi ][Info ] Usage statistic: appLaunched [18:34:03.843][NPS ][Info ] NPS user ceated on :3/12/2018 2:44:42 AM -07:00, last survey : 1/1/0001 12:00:00 AM +00:00 [18:34:03.843][SegmentApi ][Info ] Usage statistic: heartbeat [18:34:03.859][SegmentApi ][Info ] Usage statistic: Identify [18:34:03.938][Notifications ][Info ] Docker is starting... [18:34:03.985][NamedPipeClient][Info ] Sending Version()... [18:34:04.000][NamedPipeClient][Info ] Received response for Version [18:34:04.016][NamedPipeClient][Info ] Sending Start(Docker.Core.Settings, Docker.Core.DaemonOptions)... [18:33:56.910][BackendServer ][Info ] Started [18:34:04.000][NamedPipeServer][Info ] Version() [18:34:04.000][NamedPipeServer][Info ] Version done in 00:00:00. [18:34:04.016][NamedPipeServer][Info ] Start(Docker.Core.Settings, Docker.Core.DaemonOptions) [18:34:04.016][PowerMode ][Info ] Stop [18:34:04.016][HyperV ][Info ] Stop [18:34:04.031][PowerShell ][Info ] Run script with parameters: -Stop True... [18:34:04.031][PowerShell ][Info ] Creating a Runspace Pool... [18:34:04.188][PowerShell ][Info ] Runspace Pool created (Min=1, Max=2) [18:34:04.281][HyperV ][Info ] Script started at 18:34:04.266 [18:34:06.865][HyperV ][Info ] Module loaded at 18:34:06.865 [18:34:07.099][HyperV ][Info ] VM MobyLinuxVM does not exist [18:34:07.100][HyperV ][Debug ] [stop] took 00:00:03.0685091 to run [18:34:07.100][OptimizeDisk ][Info ] Optimize [18:34:07.101][PowerShell ][Info ] Run script... [18:34:07.115][Moby ][Info ] Stop [18:34:07.140][HyperVGuids ][Info ] Installing GUIDs... [18:34:07.140][PowerMode ][Info ] Start [18:34:07.141][HyperV ][Info ] Create [18:34:07.141][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\docker-for-win.iso... [18:34:07.151][Firewall ][Info ] Removing all existing rules... [18:34:07.153][HyperVGuids ][Info ] GUIDs installed [18:34:07.157][HyperV ][Info ] Script started at 18:34:07.157 [18:34:07.179][Firewall ][Info ] All existing rules are removed. [18:34:07.179][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe... [18:34:07.184][HyperV ][Info ] Module loaded at 18:34:07.183 [18:34:07.187][Firewall ][Info ] Opening ports for SMB... [18:34:07.197][Firewall ][Info ] Ports are opened [18:34:07.338][HyperV ][Info ] Creating Switch: DockerNAT... [18:34:10.057][HyperV ][Info ] Switch created. [18:34:12.145][HyperV ][Info ] Set IP address on switch [18:34:13.352][HyperV ][Info ] Creating VM MobyLinuxVM... [18:34:14.416][HyperV ][Info ] Setting CPUs to 2 and Memory to 2048 MB [18:34:14.619][HyperV ][Info ] Creating dynamic VHD: C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx [18:34:15.829][HyperV ][Info ] Attach VHD C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx [18:34:16.407][HyperV ][Info ] Connect Internal Switch DockerNAT [18:34:16.876][HyperV ][Info ] Attach DVD C:\Program Files\Docker\Docker\Resources\docker-for-win.iso [18:34:17.481][HyperV ][Info ] Disabled Guest Service Interface [18:34:17.497][HyperV ][Info ] Enabled Heartbeat [18:34:17.528][HyperV ][Info ] Disabled Key-Value Pair Exchange [18:34:17.544][HyperV ][Info ] Enabled Shutdown [18:34:17.560][HyperV ][Info ] Enabled Time Synchronization [18:34:17.575][HyperV ][Info ] Disabled VSS [18:34:17.825][HyperV ][Info ] VM created. [18:34:17.825][HyperV ][Debug ] [create] took 00:00:10.6842638 to run [18:34:17.825][PowerShell ][Info ] Run script '(Hyper-V\Get-VM MobyLinuxVM).Id.Guid'... [18:34:17.856][Database ][Info ] Generating CA Cert Bundle [18:34:17.888][Database ][Info ] CA Cert Bundle Generated [18:34:17.966][Moby ][Info ] Connecting... [18:34:17.966][Moby ][Error ] Failed to read Moby's logs: The operation has timed out. [18:34:17.966][HyperV ][Info ] Start [18:34:17.966][PowerShell ][Info ] Run script with parameters: -Start True -IsoFile C:\Program Files\Docker\Docker\Resources\docker-for-win.iso -confIsoFile C:\ProgramData\Docker\tmp-d4w\config.iso... [18:34:17.981][PowerShell ][Info ] Run script '$(Find-NetRoute -RemoteIPAddress 8.8.8.8).InterfaceIndex[0]'... [18:34:17.981][HyperV ][Info ] Script started at 18:34:17.981 [18:34:18.044][HyperV ][Info ] Module loaded at 18:34:18.044 [18:34:18.075][HyperV ][Info ] Starting VM MobyLinuxVM... [18:34:18.388][HyperV ][Info ] Remove existing DVDs [18:34:18.716][HyperV ][Info ] Attach DVD C:\Program Files\Docker\Docker\Resources\docker-for-win.iso [18:34:18.966][HyperV ][Info ] Attach Config ISO C:\ProgramData\Docker\tmp-d4w\config.iso [18:34:20.107][VpnKit ][Info ] vpnkit.exe: Setting handler to ignore all SIGPIPE signals

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Version %VERSION% from %VCS_COMMIT_ID%

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: System SOMAXCONN is 2147483647

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Will use a listen backlog of 32

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Starting port forwarding server on port_control_url:"hyperv-connect://f5928656-caa1-44d8-9ae2-7c3b09ecd8ef" vsock_path:""

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Removed connection limit

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Connecting to f5928656-caa1-44d8-9ae2-7c3b09ecd8ef:0B95756A-9985-48AD-9470-78E060895BE7

[18:34:20.107][VpnKit ][Warning] vpnkit.exe: There is no database: using hardcoded network configuration values

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: DNS server configured with no builtin DNS names; everything will be forwarded

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: 2 upstream DNS servers are configured

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Disabling transparent HTTP redirection

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Updating resolvers to use upstream DNS servers

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Secure random number generator is available

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Add(3): DNS configuration changed to: use upstream DNS servers

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: DNS server configured with builtin DNS names [ docker.for.win.gateway.internal -> 192.168.65.1, docker.for.win.http.internal -> 192.168.65.1, docker.for.win.localhost -> 192.168.65.2, docker.for.win.host.internal -> 192.168.65.2 ]

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: 0 upstream DNS servers are configured

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: DNS configuration file C:\Users\I350095\AppData\Roaming\Docker\resolv.conf has changed

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Reading DNS configuration from C:\Users\I350095\AppData\Roaming\Docker\resolv.conf

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Watching DNS configuration file C:\Users\I350095\AppData\Roaming\Docker\resolv.conf for changes

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: DHCP configuration file C:\Users\I350095\AppData\Roaming\Docker\dhcp.json has changed

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Reading DHCP configuration file from C:\Users\I350095\AppData\Roaming\Docker\dhcp.json

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Watching DHCP configuration file C:\Users\I350095\AppData\Roaming\Docker\dhcp.json for changes

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Configuration server_macaddr = f6:16:36:bc:f9:c6; max_connection = None; dns_path = C:\Users\I350095\AppData\Roaming\Docker\resolv.conf; dns = ; resolver = Upstream; domain = None; allowed_bind_addresses = 0.0.0.0; gateway_ip = 192.168.65.1; host_ip = 192.168.65.2; lowest_ip = 192.168.65.3; highest_ip = 192.168.65.254; dhcp_json_path = C:\Users\I350095\AppData\Roaming\Docker\dhcp.json; dhcp_configuration = None; mtu = 1500; http_intercept = None; http_intercept_path = None; port_max_idle_time = 30; host_names = docker.for.win.localhost, docker.for.win.host.internal; gateway_name = docker.for.win.gateway.internal, docker.for.win.http.internal

[18:34:20.107][VpnKit ][Info ] vpnkit.exe: Connecting to f5928656-caa1-44d8-9ae2-7c3b09ecd8ef:30D48B34-7D27-4B0B-AAAF-BBBED334DD59

[18:34:20.122][VpnKit ][Error ] vpnkit.exe: While watching /etc/resolv.conf: ENOENT

[18:34:20.122][VpnKit ][Info ] vpnkit.exe: C:\Windows\System32\drivers\etc\hosts file has bindings for

[18:34:20.122][VpnKit ][Info ] vpnkit.exe: Updating DNS configuration to nameserver 10.58.38.254#53

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] nameserver 10.58.32.32#53

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] nameserver 10.33.50.14#53

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] vpnkit.exe: Updating resolvers to use upstream DNS servers nameserver 10.58.38.254#53

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] nameserver 10.58.32.32#53

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] nameserver 10.33.50.14#53

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] vpnkit.exe: Secure random number generator is available

[18:34:20.122][VpnKit ][Info ] vpnkit.exe: Remove(3): DNS configuration changed to: use upstream DNS servers nameserver 8.8.8.8#53

[18:34:20.122][VpnKit ][Info ] timeout 2000

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] nameserver 8.8.4.4#53

[18:34:20.122][VpnKit ][Info ] timeout 2000

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] vpnkit.exe: Add(3): DNS configuration changed to: use upstream DNS servers nameserver 10.58.38.254#53

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] nameserver 10.58.32.32#53

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] nameserver 10.33.50.14#53

[18:34:20.122][VpnKit ][Info ] order 0

[18:34:20.122][VpnKit ][Info ] vpnkit.exe: DNS server configured with builtin DNS names [ docker.for.win.gateway.internal -> 192.168.65.1, docker.for.win.http.internal -> 192.168.65.1, docker.for.win.localhost -> 192.168.65.2, docker.for.win.host.internal -> 192.168.65.2 ]

[18:34:20.122][VpnKit ][Info ] vpnkit.exe: 3 upstream DNS servers are configured

[18:34:20.122][VpnKit ][Info ] vpnkit.exe: Update DHCP configuration to { searchDomains = pvgl.global.corp.sap, pvgl.sap.corp, sin.global.corp.sap, wdf.global.corp.sap, global.corp.sap, sin.sap.corp, wdf.sap.corp, successfactors.com, mo.sap.corp, concur.concurtech.org, concurtech.org, rnd.concur.concurtech.org, sha.global.corp.sap, sha.sap.corp; domainName = apj.global.corp.sap }

[18:34:35.301][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. (Virtual machine ID F5928656-CAA1-44D8-9AE2-7C3B09ECD8EF) at Start-MobyLinuxVM, : line 315 at , : line 410. Let's retry [18:34:35.458][Installer ][Info ] Checking for features: Hyper-V, Containers [18:34:35.458][PowerShell ][Info ] Run script... [18:34:37.680][PowerShell ][Info ] Run script... [18:34:38.930][PowerShell ][Info ] Run script... [18:34:40.145][PowerShell ][Info ] Run script... [18:34:41.386][Installer ][Info ] Features installed [18:34:41.402][HyperV ][Info ] Hyper-V is running [18:34:41.402][PowerMode ][Info ] Stop [18:34:41.402][HyperV ][Info ] Stop [18:34:41.402][PowerShell ][Info ] Run script with parameters: -Stop True... [18:34:41.402][HyperV ][Info ] Script started at 18:34:41.402 [18:34:41.417][HyperV ][Info ] Module loaded at 18:34:41.417 [18:34:41.449][HyperV ][Info ] VM MobyLinuxVM is stopped [18:34:41.449][HyperV ][Debug ] [stop] took 00:00:00.0468803 to run [18:34:41.449][OptimizeDisk ][Info ] Optimize [18:34:41.449][PowerShell ][Info ] Run script... [18:34:42.808][Moby ][Info ] Stop [18:34:42.808][VpnKit ][Info ] Killing existing vpnkit with PID 16912 [18:34:42.824][HyperV ][Info ] Destroy [18:34:42.824][PowerShell ][Info ] Run script with parameters: -Destroy True -KeepVolume True... [18:34:42.824][HyperV ][Info ] Script started at 18:34:42.824 [18:34:42.839][HyperV ][Info ] Module loaded at 18:34:42.839 [18:34:42.855][HyperV ][Info ] VM MobyLinuxVM is stopped [18:34:42.855][HyperV ][Info ] Destroying Switch DockerNAT... [18:34:44.683][HyperV ][Info ] Removing VM MobyLinuxVM... [18:34:44.766][HyperV ][Debug ] [destroy] took 00:00:01.9426480 to run [18:34:44.766][Firewall ][Info ] Closing ports... [18:34:44.766][Firewall ][Info ] Removing all existing rules... [18:34:45.588][Firewall ][Info ] All existing rules are removed. [18:34:45.588][Firewall ][Info ] Ports are closed [18:34:45.588][HyperVGuids ][Info ] Removing GUIDs... [18:34:45.588][HyperVGuids ][Info ] GUIDs removed [18:34:45.588][HyperV ][Info ] Create [18:34:45.588][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\docker-for-win.iso... [18:34:45.603][HyperV ][Info ] Script started at 18:34:45.603 [18:34:45.619][HyperV ][Info ] Module loaded at 18:34:45.619 [18:34:45.681][HyperV ][Info ] Creating Switch: DockerNAT... [18:34:47.304][HyperV ][Info ] Switch created. [18:34:49.348][HyperV ][Info ] Set IP address on switch [18:34:49.364][HyperV ][Info ] Creating VM MobyLinuxVM... [18:34:50.192][HyperV ][Info ] Setting CPUs to 2 and Memory to 2048 MB [18:34:50.410][HyperV ][Info ] Attach VHD C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx [18:34:50.841][HyperV ][Info ] Connect Internal Switch DockerNAT [18:34:51.028][HyperV ][Info ] Attach DVD C:\Program Files\Docker\Docker\Resources\docker-for-win.iso [18:34:51.512][HyperV ][Info ] Disabled Guest Service Interface [18:34:51.528][HyperV ][Info ] Enabled Heartbeat [18:34:51.559][HyperV ][Info ] Disabled Key-Value Pair Exchange [18:34:51.575][HyperV ][Info ] Enabled Shutdown [18:34:51.591][HyperV ][Info ] Enabled Time Synchronization [18:34:51.606][HyperV ][Info ] Disabled VSS [18:34:51.856][HyperV ][Info ] VM created. [18:34:51.856][HyperV ][Debug ] [create] took 00:00:06.2684686 to run [18:34:51.856][PowerMode ][Info ] Stop [18:34:51.856][HyperV ][Info ] Stop [18:34:51.856][PowerShell ][Info ] Run script with parameters: -Stop True... [18:34:51.872][HyperV ][Info ] Script started at 18:34:51.872 [18:34:51.887][HyperV ][Info ] Module loaded at 18:34:51.887 [18:34:51.934][HyperV ][Info ] VM MobyLinuxVM is stopped [18:34:51.934][HyperV ][Debug ] [stop] took 00:00:00.0781134 to run [18:34:51.934][OptimizeDisk ][Info ] Optimize [18:34:51.934][PowerShell ][Info ] Run script... [18:34:53.553][Moby ][Info ] Stop [18:34:53.553][HyperV ][Info ] Create [18:34:53.553][HyperVGuids ][Info ] Installing GUIDs... [18:34:53.553][PowerMode ][Info ] Start [18:34:53.553][Firewall ][Info ] Removing all existing rules... [18:34:53.553][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\docker-for-win.iso... [18:34:53.569][HyperVGuids ][Info ] GUIDs installed [18:34:53.569][HyperV ][Info ] Script started at 18:34:53.569 [18:34:53.585][HyperV ][Info ] Module loaded at 18:34:53.585 [18:34:53.585][Firewall ][Info ] All existing rules are removed. [18:34:53.585][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe... [18:34:53.585][Firewall ][Info ] Opening ports for SMB... [18:34:53.600][Firewall ][Info ] Ports are opened [18:34:54.022][HyperV ][Info ] Using existing Switch: DockerNAT [18:34:54.881][HyperV ][Info ] Using existing Switch IP address [18:34:54.913][HyperV ][Info ] Setting CPUs to 2 and Memory to 2048 MB [18:34:55.038][HyperV ][Info ] Connect Internal Switch DockerNAT [18:34:55.116][HyperV ][Info ] Remove existing DVDs [18:34:55.366][HyperV ][Info ] Attach DVD C:\Program Files\Docker\Docker\Resources\docker-for-win.iso [18:34:55.788][HyperV ][Info ] Disabled Guest Service Interface [18:34:55.803][HyperV ][Info ] Enabled Heartbeat [18:34:55.819][HyperV ][Info ] Disabled Key-Value Pair Exchange [18:34:55.834][HyperV ][Info ] Enabled Shutdown [18:34:55.850][HyperV ][Info ] Enabled Time Synchronization [18:34:55.866][HyperV ][Info ] Disabled VSS [18:34:55.975][HyperV ][Info ] VM created. [18:34:55.975][HyperV ][Debug ] [create] took 00:00:02.4216940 to run [18:34:55.975][PowerShell ][Info ] Run script '(Hyper-V\Get-VM MobyLinuxVM).Id.Guid'... [18:34:55.991][Database ][Info ] Generating CA Cert Bundle [18:34:56.006][Database ][Info ] CA Cert Bundle Generated [18:34:56.038][Moby ][Info ] Connecting... [18:34:56.038][Moby ][Error ] Failed to read Moby's logs: The operation has timed out. [18:34:56.038][HyperV ][Info ] Start [18:34:56.038][PowerShell ][Info ] Run script '$(Find-NetRoute -RemoteIPAddress 8.8.8.8).InterfaceIndex[0]'... [18:34:56.038][PowerShell ][Info ] Run script with parameters: -Start True -IsoFile C:\Program Files\Docker\Docker\Resources\docker-for-win.iso -confIsoFile C:\ProgramData\Docker\tmp-d4w\config.iso... [18:34:56.038][HyperV ][Info ] Script started at 18:34:56.038 [18:34:56.287][VpnKit ][Info ] vpnkit.exe: Setting handler to ignore all SIGPIPE signals

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Version %VERSION% from %VCS_COMMIT_ID%

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: System SOMAXCONN is 2147483647

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Will use a listen backlog of 32

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Starting port forwarding server on port_control_url:"hyperv-connect://69ecc802-c0ef-4767-8991-c53b61730dde" vsock_path:""

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Removed connection limit

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Connecting to 69ecc802-c0ef-4767-8991-c53b61730dde:0B95756A-9985-48AD-9470-78E060895BE7

[18:34:56.287][VpnKit ][Warning] vpnkit.exe: There is no database: using hardcoded network configuration values

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: DNS server configured with no builtin DNS names; everything will be forwarded

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: 2 upstream DNS servers are configured

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Disabling transparent HTTP redirection

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Updating resolvers to use upstream DNS servers

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Secure random number generator is available

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Add(3): DNS configuration changed to: use upstream DNS servers

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: DNS server configured with builtin DNS names [ docker.for.win.gateway.internal -> 192.168.65.1, docker.for.win.http.internal -> 192.168.65.1, docker.for.win.localhost -> 192.168.65.2, docker.for.win.host.internal -> 192.168.65.2 ]

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: 0 upstream DNS servers are configured

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: DNS configuration file C:\Users\I350095\AppData\Roaming\Docker\resolv.conf has changed

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Reading DNS configuration from C:\Users\I350095\AppData\Roaming\Docker\resolv.conf

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Watching DNS configuration file C:\Users\I350095\AppData\Roaming\Docker\resolv.conf for changes

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: DHCP configuration file C:\Users\I350095\AppData\Roaming\Docker\dhcp.json has changed

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Reading DHCP configuration file from C:\Users\I350095\AppData\Roaming\Docker\dhcp.json

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Watching DHCP configuration file C:\Users\I350095\AppData\Roaming\Docker\dhcp.json for changes

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Configuration server_macaddr = f6:16:36:bc:f9:c6; max_connection = None; dns_path = C:\Users\I350095\AppData\Roaming\Docker\resolv.conf; dns = ; resolver = Upstream; domain = None; allowed_bind_addresses = 0.0.0.0; gateway_ip = 192.168.65.1; host_ip = 192.168.65.2; lowest_ip = 192.168.65.3; highest_ip = 192.168.65.254; dhcp_json_path = C:\Users\I350095\AppData\Roaming\Docker\dhcp.json; dhcp_configuration = None; mtu = 1500; http_intercept = None; http_intercept_path = None; port_max_idle_time = 30; host_names = docker.for.win.localhost, docker.for.win.host.internal; gateway_name = docker.for.win.gateway.internal, docker.for.win.http.internal

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: Connecting to 69ecc802-c0ef-4767-8991-c53b61730dde:30D48B34-7D27-4B0B-AAAF-BBBED334DD59

[18:34:56.287][VpnKit ][Error ] vpnkit.exe: While watching /etc/resolv.conf: ENOENT

[18:34:56.287][VpnKit ][Info ] vpnkit.exe: C:\Windows\System32\drivers\etc\hosts file has bindings for

[18:34:56.303][VpnKit ][Info ] vpnkit.exe: Update DHCP configuration to { searchDomains = pvgl.global.corp.sap, pvgl.sap.corp, sin.global.corp.sap, wdf.global.corp.sap, global.corp.sap, sin.sap.corp, wdf.sap.corp, successfactors.com, mo.sap.corp, concur.concurtech.org, concurtech.org, rnd.concur.concurtech.org, sha.global.corp.sap, sha.sap.corp; domainName = apj.global.corp.sap }

[18:34:56.319][VpnKit ][Info ] vpnkit.exe: Updating DNS configuration to nameserver 10.58.38.254#53

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] nameserver 10.58.32.32#53

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] nameserver 10.33.50.14#53

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] vpnkit.exe: Updating resolvers to use upstream DNS servers nameserver 10.58.38.254#53

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] nameserver 10.58.32.32#53

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] nameserver 10.33.50.14#53

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] vpnkit.exe: Secure random number generator is available

[18:34:56.319][VpnKit ][Info ] vpnkit.exe: Remove(3): DNS configuration changed to: use upstream DNS servers nameserver 8.8.8.8#53

[18:34:56.319][VpnKit ][Info ] timeout 2000

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] nameserver 8.8.4.4#53

[18:34:56.319][VpnKit ][Info ] timeout 2000

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] vpnkit.exe: Add(3): DNS configuration changed to: use upstream DNS servers nameserver 10.58.38.254#53

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] nameserver 10.58.32.32#53

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] nameserver 10.33.50.14#53

[18:34:56.319][VpnKit ][Info ] order 0

[18:34:56.319][VpnKit ][Info ] vpnkit.exe: DNS server configured with builtin DNS names [ docker.for.win.gateway.internal -> 192.168.65.1, docker.for.win.http.internal -> 192.168.65.1, docker.for.win.localhost -> 192.168.65.2, docker.for.win.host.internal -> 192.168.65.2 ]

[18:34:56.319][VpnKit ][Info ] vpnkit.exe: 3 upstream DNS servers are configured

[18:34:56.584][HyperV ][Info ] Module loaded at 18:34:56.584 [18:34:56.600][HyperV ][Info ] Starting VM MobyLinuxVM... [18:34:56.647][HyperV ][Info ] Remove existing DVDs [18:34:57.066][HyperV ][Info ] Attach DVD C:\Program Files\Docker\Docker\Resources\docker-for-win.iso [18:34:57.305][HyperV ][Info ] Attach Config ISO C:\ProgramData\Docker\tmp-d4w\config.iso [18:35:13.352][PowerMode ][Info ] Stop [18:35:13.352][HyperV ][Info ] Stop [18:35:13.352][PowerShell ][Info ] Run script with parameters: -Stop True... [18:35:13.367][HyperV ][Info ] Script started at 18:35:13.367 [18:35:13.367][HyperV ][Info ] Module loaded at 18:35:13.367 [18:35:13.414][HyperV ][Info ] VM MobyLinuxVM is stopped [18:35:13.414][HyperV ][Debug ] [stop] took 00:00:00.0624904 to run [18:35:13.414][OptimizeDisk ][Info ] Optimize [18:35:13.414][PowerShell ][Info ] Run script... [18:35:14.751][Moby ][Info ] Stop [18:35:14.766][VpnKit ][Info ] Killing existing vpnkit with PID 208 [18:35:14.766][HyperV ][Info ] Destroy [18:35:14.766][PowerShell ][Info ] Run script with parameters: -Destroy True -KeepVolume True... [18:35:14.781][HyperV ][Info ] Script started at 18:35:14.781 [18:35:14.781][HyperV ][Info ] Module loaded at 18:35:14.781 [18:35:14.797][HyperV ][Info ] VM MobyLinuxVM is stopped [18:35:14.797][HyperV ][Info ] Destroying Switch DockerNAT... [18:35:16.713][HyperV ][Info ] Removing VM MobyLinuxVM... [18:35:16.792][HyperV ][Debug ] [destroy] took 00:00:02.0258285 to run [18:35:16.792][Firewall ][Info ] Closing ports... [18:35:16.792][Firewall ][Info ] Removing all existing rules... [18:35:17.594][Firewall ][Info ] All existing rules are removed. [18:35:17.594][Firewall ][Info ] Ports are closed [18:35:17.594][HyperVGuids ][Info ] Removing GUIDs... [18:35:17.594][HyperVGuids ][Info ] GUIDs removed [18:35:17.594][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. (Virtual machine ID 69ECC802-C0EF-4767-8991-C53B61730DDE) at Start-MobyLinuxVM, : line 315 at , : line 410 at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 256 at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 130 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 [18:35:17.656][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. (Virtual machine ID 69ECC802-C0EF-4767-8991-C53B61730DDE) at Start-MobyLinuxVM, : line 315 at , : line 410 [18:35:17.656][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. (Virtual machine ID 69ECC802-C0EF-4767-8991-C53B61730DDE) at Start-MobyLinuxVM, : line 315 at , : line 410 [18:57:42.622][ErrorReportWindow][Info ] Open logs

Steps to reproduce the behavior

  1. install Docker CE for windows
  2. encounter error
  3. reset to factory defaults
  4. encounter error again...
sshankarn commented 6 years ago

+1. You do not have to do any thing special to recreate this problem. Just install Docker CE from Docker site on Windows and follow the prompts. It restarts first, then tries to start, displays a message : "Docker needs Windows container enabled" attempts that, restarts again and fails with the MobyLinuxVM message.

From what I see, this problem has been posted in so many forums. I see a variant to this issue like in this thread where Docker was working fine on Windows and then all of a sudden wouldn't start one fine day . The solutions are all over the place and works for a few but very inconsistently.

May be there should be a big red warning on Docker Download site that "You are attempting to install Docker on Windows. Docker might not get installed properly on Windows very well and therefore the odds of this installation process to fail is super high and if it does, do this and that"... as it looks like so many folks all over the place are spinning cycles to see what is going on - all just to start docker after installation.

thecherrytree commented 6 years ago

I've had this issue for a month. Previously, I would get the message when starting docker:

"Containers feature is not enabled. Do you want to enable it for Docker to be able to work properly? Your computer will restart automatically."

I would click no, docker would exit, then I would navigate to the docker root directory and run: DockerCli.exe -SwitchDaemon, which would allow me to start docker again and get it working. Now, whenever I start docker, it shuts down my MobyLinuxVM and then gives me that message.

What is the fix for this?

macknight commented 6 years ago

@thecherrytree I have no idea too, because I find it running out into the same problem no matter how I tried...

macknight commented 6 years ago

@sshankarn you said is right , docker for win is really odd, and the prompt messages for not running well varies from problem 1. to problem n. And it's really hard to find the way to solve exactly the same problem. And I found one solution to uninstall docker, turn off Hyper-V and reinstall docker, it failed too, and it still has this problem

macknight commented 6 years ago

well my machine can always stop by different reasons on windows

docker-robott commented 6 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

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

MatthewAt3Sharp commented 4 years ago

/remove-lifecycle stale

docker-robott commented 4 years ago

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