EDIT 3: I ran a Windows Update and after that Docker was able to create the MobyLinuxVM again. Windows 10 Enterprise Version 1607 Build 14383.
Expected behavior
Docker for Windows is able to run on Windows 10 Enterprise Insider Preview Build 14379.
Actual behavior
After upgrading from RC2 to RC3, Docker fails to start.
Information
According to the log file there’s an issue when trying to get an (unspecified) object from Hyper-V.
I’ve looked at this issue but it doesn’t fit what I’m seeing in the logs translated from Danish:
“Hyper-V encountered an error trying to access an object on computer ‘{0}’ because the object was not found. The object might have been deleted, or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running, try to perform the task again by using Run as Administrator.”
The Hyper-V installation check however doesn’t seem to find an issue:
[11:22:03.646][NamedPipeClient][Info ] Sending CheckInstallation()…
[11:22:03.646][NamedPipeServer][Info ] CheckInstallation()
[11:22:03.668][HyperV ][Info ] Check Hyper-V Windows optional feature
[11:22:03.668][PowerShell ][Info ] Run script…
[11:22:04.423][HyperV ][Info ] Hyper-V Windows feature is enabled
[11:22:04.431][NamedPipeClient][Info ] Received response for CheckInstallation
[11:22:04.428][NamedPipeServer][Info ] CheckInstallation done.
[11:22:04.436][NamedPipeClient][Info ] Sending CheckHyperVState()…
[11:22:04.442][NamedPipeServer][Info ] CheckHyperVState()
[11:22:04.446][HyperV ][Info ] Check Hyper-V Service State
[11:22:04.450][PowerShell ][Info ] Run script with parameters: -Check True…
[11:22:04.505][HyperV ][Info ] Hyper-V is running and responding
[11:22:04.505][HyperV ][Info ] Hyper-V is running
[11:22:04.521][NamedPipeClient][Info ] Received response for CheckHyperVState
[11:22:04.505][NamedPipeServer][Info ] CheckHyperVState done.
Full log:
[11:18:44.398][Program ][Info ] 1.12.0-rc3-beta18
[11:18:44.398][Program ][Info ] Starting on: 06-Jul-16 11:18:44
[11:18:44.414][Program ][Info ] Resources: C:\Program Files\Docker\Docker\Resources
[11:18:44.414][Program ][Info ] OS: Windows 10 Enterprise Insider Preview
[11:18:44.414][Program ][Info ] Edition: Enterprise
[11:18:44.414][Program ][Info ] Id: 1607
[11:18:44.414][Program ][Info ] Build: 14379
[11:18:44.430][Program ][Info ] BuildLabName: 14379.0.amd64fre.rs1_release.160627-1607
[11:18:44.430][Program ][Info ] Mixpanel Id: D5267B6D-15EE-4628-8AA6-1F83E935E123
[11:18:44.430][Program ][Info ] Sha1: 5cbabb0783b6d281b8f579cb9f4dff38373b2c10
[11:18:44.445][Program ][Info ] You can send feedback, including this log file, at forums.docker.com/c/docker-for-windows
[11:18:44.784][TrackingStatus ][Info ] Crash report and usage statistics are enabled
[11:18:44.831][Mixpanel ][Info ] Usage Statistic: appLaunched
[11:18:45.116][NamedPipeClient][Info ] Sending Version()…
[11:18:45.131][NamedPipeClient][Info ] Received response for Version
[11:18:45.147][Mixpanel ][Info ] Usage Statistic: heartbeat
[11:18:45.131][NamedPipeServer][Info ] Version done.
[11:18:45.285][NamedPipeClient][Info ] Sending Stop()…
[11:18:45.285][Updater ][Info ] Checking for updates on channel Beta…
[11:18:45.285][NamedPipeServer][Info ] Stop()
[11:18:45.301][HyperV ][Info ] Stop
[11:18:45.301][PowerShell ][Info ] Run script with parameters: -Stop True…
[11:18:45.385][HyperV ][Info ] VM MobyLinuxVM does not exist
[11:18:45.401][NamedPipeClient][Info ] Received response for Stop
[11:18:45.401][NamedPipeClient][Info ] Sending Start(Docker.Core.Settings)…
[11:18:45.385][NamedPipeServer][Info ] Stop done.
[11:18:45.401][NamedPipeServer][Info ] Start(Docker.Core.Settings)
[11:18:45.401][HyperVGuids ][Info ] Installing GUIDs…
[11:18:45.417][HyperVGuids ][Info ] GUIDs installed
[11:18:45.417][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe…
[11:18:45.486][Updater ][Info ] Local build 5193 is as good as the remote 5193 on channel Beta
[11:21:59.546][Firewall ][Info ] Ports are opened
[11:21:59.552][HyperV ][Info ] Create
[11:21:59.556][PowerShell ][Info ] Run script with parameters: -Create True -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso…
[11:21:59.712][HyperV ][Info ] Using existing Switch: DockerNAT
[11:22:00.244][HyperV ][Info ] Using existing Switch IP address
[11:22:00.264][HyperV ][Info ] VHD D:\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx already exists
[11:22:00.322][HyperV ][Info ] Creating VM MobyLinuxVM…
[11:22:03.615][NamedPipeServer][Error ] Unable to execute Start: Failed to create VM “MobyLinuxVM”: Der opstod en fejl i Hyper-V under forsøget på at få adgang til et objekt på computeren ‘LAPTOP’, fordi objektet ikke blev fundet. Objektet er muligvis blevet slettet, eller du har ikke tilladelse til at udføre handlingen. Kontrollér, at tjenesten Administration af virtuel maskine kører på computeren. Hvis tjenesten kører, skal du prøve at udføre opgaven igen ved hjælp af Kør som administrator. ved System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
ved System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
ved Docker.Core.PowerShell.Run(String script, Dictionary2 parameters, Action
1 lineReceived)
ved Docker.Backend.Backend.Start(Settings settings)
ved Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass7_0.b__0(Object[] parameters)
ved Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)
[11:22:03.631][NamedPipeClient][Error ] Unable to send Start: Failed to create VM “MobyLinuxVM”: Der opstod en fejl i Hyper-V under forsøget på at få adgang til et objekt på computeren ‘LAPTOP’, fordi objektet ikke blev fundet. Objektet er muligvis blevet slettet, eller du har ikke tilladelse til at udføre handlingen. Kontrollér, at tjenesten Administration af virtuel maskine kører på computeren. Hvis tjenesten kører, skal du prøve at udføre opgaven igen ved hjælp af Kør som administrator.
[11:22:03.646][NamedPipeClient][Info ] Sending CheckInstallation()…
[11:22:03.646][NamedPipeServer][Info ] CheckInstallation()
[11:22:03.668][HyperV ][Info ] Check Hyper-V Windows optional feature
[11:22:03.668][PowerShell ][Info ] Run script…
[11:22:04.423][HyperV ][Info ] Hyper-V Windows feature is enabled
[11:22:04.431][NamedPipeClient][Info ] Received response for CheckInstallation
[11:22:04.428][NamedPipeServer][Info ] CheckInstallation done.
[11:22:04.436][NamedPipeClient][Info ] Sending CheckHyperVState()…
[11:22:04.442][NamedPipeServer][Info ] CheckHyperVState()
[11:22:04.446][HyperV ][Info ] Check Hyper-V Service State
[11:22:04.450][PowerShell ][Info ] Run script with parameters: -Check True…
[11:22:04.505][HyperV ][Info ] Hyper-V is running and responding
[11:22:04.505][HyperV ][Info ] Hyper-V is running
[11:22:04.521][NamedPipeClient][Info ] Received response for CheckHyperVState
[11:22:04.505][NamedPipeServer][Info ] CheckHyperVState done.
[11:22:04.521][Notifications ][Error ] Failed to create VM “MobyLinuxVM”: Der opstod en fejl i Hyper-V under forsøget på at få adgang til et objekt på computeren ‘LAPTOP’, fordi objektet ikke blev fundet. Objektet er muligvis blevet slettet, eller du har ikke tilladelse til at udføre handlingen. Kontrollér, at tjenesten Administration af virtuel maskine kører på computeren. Hvis tjenesten kører, skal du prøve at udføre opgaven igen ved hjælp af Kør som administrator.
[11:22:04.539][NamedPipeClient][Info ] Sending GetDebugInfo()…
[11:22:04.539][NamedPipeServer][Info ] GetDebugInfo()
[11:22:12.412][NamedPipeServer][Info ] GetDebugInfo done.
[11:22:12.428][NamedPipeClient][Info ] Received response for GetDebugInfo
[11:22:12.447][Program ][Info ] Sending Bugsnag report 96c11884-73ce-4b7d-817c-7a268ca9c49d…
[11:22:13.450][Program ][Info ] Bugsnag report 96c11884-73ce-4b7d-817c-7a268ca9c49d sent
[11:22:13.497][NamedPipeClient][Info ] Sending DownloadVmLogs()…
[11:22:13.512][NamedPipeServer][Info ] DownloadVmLogs()
[11:22:13.512][PowerShell ][Info ] Run script…
[11:22:13.547][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”.
[11:22:13.550][NamedPipeClient][Info ] Received response for DownloadVmLogs
[11:22:13.550][NamedPipeServer][Info ] DownloadVmLogs done.
[11:22:20.818][ErrorReportWindow][Info ] Open logs