Expected behavior
Docker starts up correctly and creates the MobyLinuxVM
Actual behavior
Docker initializes then fails when it cannot create the MobyLinuxVM in Hyper-V due to hard disk sharing not being supported. Producing error in log: The storage where the virtual hard disk is located does not support virtual hard disk sharing.
Information
#####Diagnostic
270872BB-0D35-45AB-B6A3-4BCEEC88D641/2016-07-08_10-58-30
#####Log
[10:34:44.010][Program ][Info ] 1.12.0-rc2-beta17
[10:34:44.010][Program ][Info ] Starting on: 7/7/2016 10:34:44 AM
[10:34:44.010][Program ][Info ] Resources: C:\Program Files\Docker\Docker\Resources
[10:34:44.010][Program ][Info ] OS: Windows 10 Pro
[10:34:44.010][Program ][Info ] Edition: Professional
[10:34:44.010][Program ][Info ] Id: 1511
[10:34:44.010][Program ][Info ] Build: 10586
[10:34:44.010][Program ][Info ] BuildLabName: 10586.420.amd64fre.th2_release_sec.160527-1834
[10:34:44.010][Program ][Info ] Mixpanel Id: 270872BB-0D35-45AB-B6A3-4BCEEC88D641
[10:34:44.026][Program ][Info ] Sha1: ff18c0c63c5ff3c4a4a925d191d5592d655779d7
[10:34:44.026][Program ][Info ] You can send feedback, including this log file, at https://forums.docker.com/c/docker-for-windows
[10:34:47.537][TrackingStatus ][Info ] Crash report and usage statistics are enabled
[10:34:47.552][Mixpanel ][Info ] Usage Statistic: appLaunched
[10:34:48.834][NamedPipeClient][Info ] Sending Version()…
[10:34:48.912][NamedPipeClient][Info ] Received response for Version
[10:34:48.927][Mixpanel ][Info ] Usage Statistic: heartbeat
[10:34:33.580][BackendServer ][Info ] Started
[10:34:48.896][NamedPipeServer][Info ] Version()
[10:34:48.896][NamedPipeServer][Info ] Version done.
[10:34:51.193][NamedPipeClient][Info ] Sending Stop()…
[10:34:51.193][NamedPipeServer][Info ] Stop()
[10:34:51.193][HyperV ][Info ] Stop
[10:34:51.240][PowerShell ][Info ] Run script with parameters: -Stop True…
[10:34:51.240][Updater ][Info ] Checking for updates on channel Beta…
[10:34:52.505][Updater ][Info ] Local build 5022 is as good as the remote 5022 on channel Beta
[10:35:12.524][HyperV ][Info ] VM MobyLinuxVM does not exist
[10:35:12.540][NamedPipeClient][Info ] Received response for Stop
[10:35:12.540][NamedPipeServer][Info ] Stop done.
[10:35:12.540][NamedPipeClient][Info ] Sending Start(Docker.Core.Settings)…
[10:35:12.571][NamedPipeServer][Info ] Start(Docker.Core.Settings)
[10:35:12.571][HyperVGuids ][Info ] Installing GUIDs…
[10:35:12.571][HyperVGuids ][Info ] GUIDs installed
[10:35:12.602][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe…
[10:35:13.649][Firewall ][Info ] Ports are opened
[10:35:13.649][HyperV ][Info ] Create
[10:35:13.649][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…
[10:35:15.790][HyperV ][Info ] Using existing Switch: DockerNAT
[10:35:18.415][HyperV ][Info ] Using existing Switch IP address
[10:35:20.071][HyperV ][Info ] VHD C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx already exists
[10:35:31.785][NamedPipeServer][Error ] Unable to execute Start: Failed to create VM “MobyLinuxVM”: Failed to get the disk information.
The storage where the virtual hard disk is located does not support virtual hard disk sharing. at System.Management.Automation.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
[10:35:31.863][NamedPipeClient][Error ] Unable to send Start: Failed to create VM “MobyLinuxVM”: Failed to get the disk information.
The storage where the virtual hard disk is located does not support virtual hard disk sharing.
[10:35:31.863][NamedPipeClient][Info ] Sending CheckInstallation()…
[10:35:31.879][NamedPipeServer][Info ] CheckInstallation()
[10:35:31.879][HyperV ][Info ] Check Hyper-V Windows optional feature
[10:35:31.879][PowerShell ][Info ] Run script…
[10:35:43.623][HyperV ][Info ] Hyper-V Windows feature is enabled
[10:35:43.638][NamedPipeServer][Info ] CheckInstallation done.
[10:35:43.638][NamedPipeClient][Info ] Received response for CheckInstallation
[10:35:43.638][NamedPipeClient][Info ] Sending CheckHyperVState()…
[10:35:43.654][NamedPipeServer][Info ] CheckHyperVState()
[10:35:43.654][HyperV ][Info ] Check Hyper-V Service State
[10:35:43.654][PowerShell ][Info ] Run script with parameters: -Check True…
[10:35:44.279][HyperV ][Info ] Hyper-V is running and responding
[10:35:44.279][NamedPipeClient][Info ] Received response for CheckHyperVState
[10:35:44.279][HyperV ][Info ] Hyper-V is running
[10:35:44.279][NamedPipeServer][Info ] CheckHyperVState done.
[10:35:44.279][Notifications ][Error ] Failed to create VM “MobyLinuxVM”: Failed to get the disk information.
The storage where the virtual hard disk is located does not support virtual hard disk sharing.
[10:35:44.279][NamedPipeClient][Info ] Sending GetDebugInfo()…
[10:35:44.295][NamedPipeServer][Info ] GetDebugInfo()
[10:36:09.577][NamedPipeServer][Info ] GetDebugInfo done.
[10:36:09.577][NamedPipeClient][Info ] Received response for GetDebugInfo
[10:36:09.624][Program ][Info ] Sending Bugsnag report 62a26f17-6c26-4097-a056-605403efe5bb…
[10:36:15.764][Program ][Info ] Bugsnag report 62a26f17-6c26-4097-a056-605403efe5bb senthard disk
[10:36:15.827][NamedPipeClient][Info ] Sending DownloadVmLogs()…
[10:36:15.858][NamedPipeServer][Info ] DownloadVmLogs()
[10:36:15.874][PowerShell ][Info ] Run script…
[10:36:15.905][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”.
[10:36:15.905][NamedPipeClient][Info ] Received response for DownloadVmLogs
[10:36:15.905][NamedPipeServer][Info ] DownloadVmLogs done.
[10:37:15.421][FeedbackSettings][Info ] Open logs
[10:37:25.525][FeedbackSettings][Info ] Open logs
[11:34:49.007][Mixpanel ][Info ] Usage Statistic: heartbeat
[12:34:49.008][Mixpanel ][Info ] Usage Statistic: heartbeat
[13:34:49.024][Mixpanel ][Info ] Usage Statistic: heartbeat
[14:34:49.026][Mixpanel ][Info ] Usage Statistic: heartbeat
[15:34:49.031][Mixpanel ][Info ] Usage Statistic: heartbeat
[16:34:49.041][Mixpanel ][Info ] Usage Statistic: heartbeat
[04:07:05.005][Mixpanel ][Info ] Usage Statistic: heartbeat
[05:07:05.017][Mixpanel ][Info ] Usage Statistic: heartbeat
[06:07:05.028][Mixpanel ][Info ] Usage Statistic: heartbeat
[07:07:05.039][Mixpanel ][Info ] Usage Statistic: heartbeat
[08:07:05.045][Mixpanel ][Info ] Usage Statistic: heartbeat
[09:07:05.057][Mixpanel ][Info ] Usage Statistic: heartbeat
[09:26:11.812][FeedbackSettings][Info ] Open logs
[10:07:05.064][Mixpanel ][Info ] Usage Statistic: heartbeat
[10:40:19.504][FeedbackSettings][Info ] Upload diagnostic
[10:40:19.504][Program ][Info ] Sending Bugsnag report 7932064d-fc2f-4dff-b4c6-9a4bb23358e0…
[10:40:24.949][Program ][Info ] Bugsnag report 7932064d-fc2f-4dff-b4c6-9a4bb23358e0 sent
[10:40:24.949][NamedPipeClient][Info ] Sending DownloadVmLogs()…
[10:40:24.965][NamedPipeServer][Info ] DownloadVmLogs()
[10:40:24.965][PowerShell ][Info ] Run script…
[10:40:25.111][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”.
[10:40:25.111][NamedPipeClient][Info ] Received response for DownloadVmLogs
[10:40:25.111][NamedPipeServer][Info ] DownloadVmLogs done.
[10:40:50.170][FeedbackSettings][Info ] Open logs
- the output of:
-
Moby Notification > Diagose & Feedback
on Windows
-
- a reproducible case if this is a bug, Dockerfiles FTW
- page URL if this is a docs issue or the name of a man page
- host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )
Steps to reproduce the behavior
- Install Docker into Windows 10 Machine
- Reboot computer after Hyper-V installation completed
- Docker produces notification: "Failed to create VM “MobyLiinuxVM: failed to get the disk in…” [truncation by Docker]