Upgrade then Unable to create File System Image
Expected behavior
Docker for Windows starts after an update and doesn't say "EDGE" on the application icon.
Actual behavior
Docker for WIndows doesn't start AT ALL. Even after an uninstall and re-install. Also, the app icon says "edge"
Information
Windows 10 Pro Insider Preview 1709 Build 17063.1000 Docker: 17.12.0-ce-win46 (15048)
- Diagnostic ID: 242D0BE4-373D-4E94-B9B1-6B21212875C9/2018-01-09_17-53-48
Steps to reproduce the behavior
Upgrade to
Error Message
Unable to create File System Image
at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:line 36
at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 95
at Docker.Actions.<>c__DisplayClass18_0.<Start>b__0() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 81
at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59
Logs
Version: 17.12.0-ce-win46 (15048)
Channel: stable
Sha1: 0ac7325e4f480d6458b9d4ef12b50d8fcf782fae
Started on: 2018/01/09 17:46:35.833
Resources: C:\Program Files\Docker\Docker\Resources
OS: Windows 10 Enterprise Insider Preview
Edition: Professional
Id: 1709
Build: 17063
BuildLabName: 17063.1000.amd64fre.rs_prerelease.171213-1610
File: C:\Users\david\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
[17:46:35.985][GUI ][Info ] Starting...
[17:46:36.705][Tracking ][Info ] Crash report and usage statistics are enabled
[17:46:36.709][SegmentApi ][Info ] Usage statistic: appLaunched
[17:46:38.430][NPS ][Info ] NPS user ceated on :10/4/2017 9:12:37 AM -07:00, last survey : 11/3/2017 11:35:01 AM -07:00
[17:46:38.431][SegmentApi ][Info ] Usage statistic: heartbeat
[17:46:38.434][SegmentApi ][Info ] Usage statistic: Identify
[17:46:38.570][NamedPipeClient][Info ] Sending Version()...
[17:46:50.349][NamedPipeClient][Info ] Sending Version()...
[17:46:50.416][NamedPipeClient][Info ] Received response for Version
[17:46:50.419][NamedPipeClient][Info ] Sending Start(Docker.Core.Settings, Docker.Core.DaemonOptions)...
[17:46:48.395][BackendServer ][Info ] Started
[17:46:50.413][NamedPipeServer][Info ] Version()
[17:46:50.414][NamedPipeServer][Info ] Version done in 00:00:00.0005018.
[17:46:50.428][NamedPipeServer][Info ] Start(Docker.Core.Settings, Docker.Core.DaemonOptions)
[17:46:50.439][PowerMode ][Info ] Stop
[17:46:50.451][HyperV ][Info ] Stop
[17:46:50.464][PowerShell ][Info ] Run script with parameters: -Stop True...
[17:46:50.469][PowerShell ][Info ] Creating a Runspace Pool...
[17:46:50.584][PowerShell ][Info ] Runspace Pool created (Min=1, Max=2)
[17:46:50.668][HyperV ][Info ] Script started at 17:46:50.664
[17:46:52.883][HyperV ][Info ] Module loaded at 17:46:52.883
[17:46:53.144][HyperV ][Info ] VM MobyLinuxVM does not exist
[17:46:53.150][HyperV ][Debug ] [stop] took 00:00:02.6935298 to run
[17:46:53.151][OptimizeDisk ][Info ] Optimize
[17:46:53.152][PowerShell ][Info ] Run script...
[17:46:53.220][Moby ][Info ] Stop
[17:46:53.233][HyperV ][Info ] Create
[17:46:53.233][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...
[17:46:53.235][PowerMode ][Info ] Start
[17:46:53.239][HyperVGuids ][Info ] Installing GUIDs...
[17:46:53.239][Firewall ][Info ] Removing all existing rules...
[17:46:53.242][HyperVGuids ][Info ] GUIDs installed
[17:46:53.259][HyperV ][Info ] Script started at 17:46:53.259
[17:46:53.282][HyperV ][Info ] Module loaded at 17:46:53.281
[17:46:53.336][Firewall ][Info ] All existing rules are removed.
[17:46:53.336][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe...
[17:46:53.468][Firewall ][Info ] Opening ports for SMB...
[17:46:53.512][Firewall ][Info ] Ports are opened
[17:46:53.712][HyperV ][Info ] Creating Switch: DockerNAT...
[17:46:55.970][HyperV ][Info ] Switch created.
[17:46:58.603][HyperV ][Info ] Set IP address on switch
[17:46:59.756][HyperV ][Info ] Creating VM MobyLinuxVM...
[17:47:01.287][HyperV ][Info ] Setting CPUs to 2 and Memory to 2048 MB
[17:47:01.806][HyperV ][Info ] Attach VHD C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx
[17:47:02.712][HyperV ][Info ] Connect Internal Switch DockerNAT
[17:47:03.386][HyperV ][Info ] Attach DVD C:\Program Files\Docker\Docker\Resources\docker-for-win.iso
[17:47:04.724][HyperV ][Info ] Disabled Guest Service Interface
[17:47:04.782][HyperV ][Info ] Enabled Heartbeat
[17:47:04.855][HyperV ][Info ] Disabled Key-Value Pair Exchange
[17:47:04.893][HyperV ][Info ] Enabled Shutdown
[17:47:04.925][HyperV ][Info ] Enabled Time Synchronization
[17:47:04.972][HyperV ][Info ] Disabled VSS
[17:47:05.537][HyperV ][Info ] VM created.
[17:47:05.537][HyperV ][Debug ] [create] took 00:00:12.3041722 to run
[17:47:05.538][PowerShell ][Info ] Run script '(Hyper-V\Get-VM MobyLinuxVM).Id.Guid'...
[17:47:05.752][Database ][Info ] Generating CA Cert Bundle
[17:47:05.839][Database ][Info ] CA Cert Bundle Generated
[17:47:05.929][Linux ][Error ] Failed to start: Unable to create File System Image. Let's retry
[17:47:06.418][HyperV ][Info ] Hyper-V is running
[17:47:06.418][PowerMode ][Info ] Stop
[17:47:06.419][HyperV ][Info ] Stop
[17:47:06.419][PowerShell ][Info ] Run script with parameters: -Stop True...
[17:47:06.448][HyperV ][Info ] Script started at 17:47:06.448
[17:47:06.468][HyperV ][Info ] Module loaded at 17:47:06.468
[17:47:06.516][HyperV ][Info ] VM MobyLinuxVM is stopped
[17:47:06.516][HyperV ][Debug ] [stop] took 00:00:00.0969985 to run
[17:47:06.516][OptimizeDisk ][Info ] Optimize
[17:47:06.516][PowerShell ][Info ] Run script...
[17:47:08.176][Moby ][Info ] Stop
[17:47:08.212][HyperV ][Info ] Destroy
[17:47:08.216][PowerShell ][Info ] Run script with parameters: -Destroy True -KeepVolume True...
[17:47:08.230][HyperV ][Info ] Script started at 17:47:08.230
[17:47:08.284][HyperV ][Info ] Module loaded at 17:47:08.284
[17:47:08.391][HyperV ][Info ] VM MobyLinuxVM is stopped
[17:47:08.392][HyperV ][Info ] Destroying Switch DockerNAT...
[17:47:11.108][HyperV ][Info ] Removing VM MobyLinuxVM...
[17:47:11.354][HyperV ][Debug ] [destroy] took 00:00:03.1419019 to run
[17:47:11.354][Firewall ][Info ] Closing ports...
[17:47:11.354][Firewall ][Info ] Removing all existing rules...
[17:47:11.579][Firewall ][Info ] All existing rules are removed.
[17:47:11.579][Firewall ][Info ] Ports are closed
[17:47:11.580][HyperVGuids ][Info ] Removing GUIDs...
[17:47:11.584][HyperVGuids ][Info ] GUIDs removed
[17:47:11.584][HyperV ][Info ] Create
[17:47:11.584][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...
[17:47:11.619][HyperV ][Info ] Script started at 17:47:11.619
[17:47:11.654][HyperV ][Info ] Module loaded at 17:47:11.654
[17:47:11.827][HyperV ][Info ] Creating Switch: DockerNAT...
[17:47:14.013][HyperV ][Info ] Switch created.
[17:47:16.201][HyperV ][Info ] Set IP address on switch
[17:47:16.221][HyperV ][Info ] Creating VM MobyLinuxVM...
[17:47:17.114][HyperV ][Info ] Setting CPUs to 2 and Memory to 2048 MB
[17:47:17.578][HyperV ][Info ] Attach VHD C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx
[17:47:18.227][HyperV ][Info ] Connect Internal Switch DockerNAT
[17:47:18.513][HyperV ][Info ] Attach DVD C:\Program Files\Docker\Docker\Resources\docker-for-win.iso
[17:47:19.065][HyperV ][Info ] Disabled Guest Service Interface
[17:47:19.086][HyperV ][Info ] Enabled Heartbeat
[17:47:19.116][HyperV ][Info ] Disabled Key-Value Pair Exchange
[17:47:19.136][HyperV ][Info ] Enabled Shutdown
[17:47:19.167][HyperV ][Info ] Enabled Time Synchronization
[17:47:19.200][HyperV ][Info ] Disabled VSS
[17:47:19.850][HyperV ][Info ] VM created.
[17:47:19.850][HyperV ][Debug ] [create] took 00:00:08.2663199 to run
[17:47:19.850][PowerMode ][Info ] Stop
[17:47:19.850][HyperV ][Info ] Stop
[17:47:19.850][PowerShell ][Info ] Run script with parameters: -Stop True...
[17:47:19.872][HyperV ][Info ] Script started at 17:47:19.872
[17:47:19.887][HyperV ][Info ] Module loaded at 17:47:19.887
[17:47:19.945][HyperV ][Info ] VM MobyLinuxVM is stopped
[17:47:19.945][HyperV ][Debug ] [stop] took 00:00:00.0950071 to run
[17:47:19.945][OptimizeDisk ][Info ] Optimize
[17:47:19.945][PowerShell ][Info ] Run script...
[17:47:21.333][Moby ][Info ] Stop
[17:47:21.356][HyperV ][Info ] Create
[17:47:21.356][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...
[17:47:21.357][HyperVGuids ][Info ] Installing GUIDs...
[17:47:21.357][PowerMode ][Info ] Start
[17:47:21.357][Firewall ][Info ] Removing all existing rules...
[17:47:21.358][HyperVGuids ][Info ] GUIDs installed
[17:47:21.391][HyperV ][Info ] Script started at 17:47:21.390
[17:47:21.424][HyperV ][Info ] Module loaded at 17:47:21.424
[17:47:21.440][Firewall ][Info ] All existing rules are removed.
[17:47:21.440][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe...
[17:47:21.450][Firewall ][Info ] Opening ports for SMB...
[17:47:21.458][Firewall ][Info ] Ports are opened
[17:47:21.774][HyperV ][Info ] Using existing Switch: DockerNAT
[17:47:26.452][HyperV ][Info ] Using existing Switch IP address
[17:47:26.500][HyperV ][Info ] Setting CPUs to 2 and Memory to 2048 MB
[17:47:27.060][HyperV ][Info ] Connect Internal Switch DockerNAT
[17:47:27.480][HyperV ][Info ] Remove existing DVDs
[17:47:27.956][HyperV ][Info ] Attach DVD C:\Program Files\Docker\Docker\Resources\docker-for-win.iso
[17:47:28.613][HyperV ][Info ] Disabled Guest Service Interface
[17:47:28.641][HyperV ][Info ] Enabled Heartbeat
[17:47:28.705][HyperV ][Info ] Disabled Key-Value Pair Exchange
[17:47:28.756][HyperV ][Info ] Enabled Shutdown
[17:47:28.788][HyperV ][Info ] Enabled Time Synchronization
[17:47:28.828][HyperV ][Info ] Disabled VSS
[17:47:29.020][HyperV ][Info ] VM created.
[17:47:29.020][HyperV ][Debug ] [create] took 00:00:07.6642901 to run
[17:47:29.020][PowerShell ][Info ] Run script '(Hyper-V\Get-VM MobyLinuxVM).Id.Guid'...
[17:47:29.045][Database ][Info ] Generating CA Cert Bundle
[17:47:29.103][Database ][Info ] CA Cert Bundle Generated
[17:47:29.107][PowerMode ][Info ] Stop
[17:47:29.107][HyperV ][Info ] Stop
[17:47:29.107][PowerShell ][Info ] Run script with parameters: -Stop True...
[17:47:29.125][HyperV ][Info ] Script started at 17:47:29.125
[17:47:29.139][HyperV ][Info ] Module loaded at 17:47:29.138
[17:47:29.165][HyperV ][Info ] VM MobyLinuxVM is stopped
[17:47:29.165][HyperV ][Debug ] [stop] took 00:00:00.0580003 to run
[17:47:29.165][OptimizeDisk ][Info ] Optimize
[17:47:29.165][PowerShell ][Info ] Run script...
[17:47:30.299][Moby ][Info ] Stop
[17:47:30.306][HyperV ][Info ] Destroy
[17:47:30.306][PowerShell ][Info ] Run script with parameters: -Destroy True -KeepVolume True...
[17:47:30.324][HyperV ][Info ] Script started at 17:47:30.324
[17:47:30.334][HyperV ][Info ] Module loaded at 17:47:30.334
[17:47:30.355][HyperV ][Info ] VM MobyLinuxVM is stopped
[17:47:30.356][HyperV ][Info ] Destroying Switch DockerNAT...
[17:47:32.269][HyperV ][Info ] Removing VM MobyLinuxVM...
[17:47:32.359][HyperV ][Debug ] [destroy] took 00:00:02.0530037 to run
[17:47:32.359][Firewall ][Info ] Closing ports...
[17:47:32.359][Firewall ][Info ] Removing all existing rules...
[17:47:32.474][NamedPipeClient][Error ] Unable to send Start: Unable to create File System Image
[17:47:32.477][Notifications ][Error ] Unable to create File System Image
[17:47:32.463][Firewall ][Info ] All existing rules are removed.
[17:47:32.463][Firewall ][Info ] Ports are closed
[17:47:32.463][HyperVGuids ][Info ] Removing GUIDs...
[17:47:32.464][HyperVGuids ][Info ] GUIDs removed
[17:47:32.471][NamedPipeServer][Error ] Unable to execute Start: Unable to create File System Image 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.<Register>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
[17:48:30.148][ErrorReportWindow][Info ] Open logs
Possible duplicate of #1221 and #1458
I have the same issue. I uninstalled and reinstalled and still get the same issue. This came immediately after the latest update and renders docker completely unusable on windows.
Hi, had the same problem, seems one of the suggested solutions on possible duplicates solved the problem for me: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Run that in elevated power shell
EDITED: The next day this doesn't seem to actually fix the issue, I guess I was just lucky.
Seems that Windows containers work tho, switching to linux containers doesn't want to work.
Here's my diagnostic report for this issue BE207427-6264-469F-BF62-C074E5DF5B17/2018-01-12_11-16-22
I am experiencing the same bug on both my laptop and my desktop PC. The main similarities is same build of Windows: 17074
Also seeing this same issue on build 17074. Diagnostic ID 30165A10-397B-49A0-9A53-1ACD1BB261D9/2018-01-17_12-01-35.
I also cannot manually enable shared drives in the settings.
Update: Downgrading to 17.09.1 as suggested in #1458 worked for me
+1 on the upgrade blocking Docker from starting at all.
- Diagnostic report submitted: ID#8F946141-A26C-4E2C-AAB2-CA2D338AE49B/2018-01-23_16-49-16
- Version: 17.12.0-ce-win47 (15139)
- Windows 10: Build 17074
Same issue on 17074, reverted to 17025 and docker is fine.
We have narrowed this down to something related to the IFileSystemImage. We are still looking at what change could have caused it to break but we are getting closer.
I'm tracking this internally - MS#15594197 . Here's another example that breaks: https://gist.github.com/PatrickLang/2166c70e997791f643b9bb2ee8350b8d
If this helps another diagnostic: 24DDD2B5-0880-4E0C-8264-6A9B1AA18EC0/2018-01-24_01-41-35
I have this error an in the windows event logs I see WARN: Unable to locate plugin: internal ERROR: Error occurred when creating network plugin not found
I managed to start the MobyLinuxVM using the MobyLinux.ps1 powershell script. There was an error at line 301 because it should not use Test-Path if $confIsoFile is null / empty string. After I added a -ne "" check it works. Like this:
if ($confIsoFile -ne "") {
if (Test-Path $confIsoFile) {
if ((Get-Item $confIsoFile).length -gt 0) {
Write-Output "Attach Config ISO $confIsoFile"
if (($vm | Get-VMScsiController).length -le 1) {
$vm | Add-VMScsiController
}
$vm | Hyper-V\Add-VMDvdDrive -ControllerNumber 1 -ControllerLocation 1 -Path $confIsoFile
}
}
}
(Probably the -ne "" check can be combined with Test-Path to avoid nesting if's)
Although the VM starts in Hyper-V the rest of Docker does not start. So it does not fix all isues.
Edit: After changing to Docker Edge (17.03.0-ce-win1 (10318)) on Windows 10 Version 1709 (17074.1002) it started working again :)
Same for me on windows 17083 C2316E66-0B1E-48AF-BC4E-36B7BE02E4EA/2018-01-24_22-22-52
I had the same problem with Windows 10 (Build 17083) and docker versions 17.12 and 18.01
I did the downgrade to docker 17.09.1 and workds!! https://download.docker.com/win/stable/14687/Docker%20for%20Windows%20Installer.exe
We think the underlying Windows bug has been identified and we have a fix in review. Once the PR has been merged, verified and a target build number has been identified I will update this issue. I have requested it be fast tracked so we can flight out the fix ASAP.
Windows 10 Build 17074. Uninstall and re-install 17.09.1 works, too.
Latest edge release is still broken in 17083. Workaround is to use Docker Toolbox.
It will be broken until the underlying Windows bug is resolved.
There were two bugs in Windows, the first (https://github.com/moby/moby/issues/35854) was fixed in 17083, this one (Unable to create File System Image) is still open.
@taylorb-microsoft any updates on this? 😄 really want to play with the new built-in Kubernetes feature in Edge version.
since 17.09.1 works, how to download this older version?