Docker for windows 安装程序在 PresentationFramework.Aero2 上失败

Docker for windows installer fails on PresentationFramework.Aero2

我正在使用 Windows 7 Enterprise,SP1,64 位。 我下载了 "Docker for Windows installer.exe" 并尝试 运行 它 - 首先只是双击,但它没有做任何事情。所以我在 CMD 中 运行 它抛出这个错误:

    Unhandled Exception: System.Windows.Markup.XamlParseException: Set property 'Sys
tem.Windows.FrameworkElement.Style' threw an exception. ---> System.IO.FileNotFo
undException: Could not load file or assembly 'PresentationFramework.Aero2, Publ
icKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
the file specified.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String cod
eBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&
stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntro
spection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName as
semblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMar
k& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIn
trospection, Boolean suppressSecurityChecks)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly(BamlAssembly
 bamlAssembly)
   at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlTypeToType(BamlTy
pe bamlType)
   at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType bam
lType, Int16 typeId)
   at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(Int16 typeId)
   at System.Windows.Baml2006.Baml2006Reader.Process_ElementStart()
   at System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord()
   at System.Windows.Baml2006.Baml2006Reader.ReadObject(KeyRecord record)
   at System.Windows.ResourceDictionary.CreateObject(KeyRecord key)
   at System.Windows.ResourceDictionary.OnGettingValue(Object key, Object& value
, Boolean& canCache)
   at System.Windows.ResourceDictionary.OnGettingValuePrivate(Object key, Object
& value, Boolean& canCache)
   at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean&
 canCache)
   at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
   at System.Windows.DeferredResourceReference.GetValue(BaseValueSourceInternal
valueSource)
   at System.Windows.DependencyPropertyChangedEventArgs.get_NewValue()
   at System.Windows.FrameworkElement.OnStyleChanged(DependencyObject d, Depende
ncyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChange
dEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChange
dEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyCha
ngedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex
, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry
, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean co
erceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Obje
ct value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolea
n coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Ob
ject value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember
 property, Object value)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInf
o lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjec
tWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject
, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolea
n skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri b
aseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext par
serContext, Object parent, Boolean closeStream)
   at LightweightInstaller.Wizard..ctor(IChannelHelper channelHelper)
   at LightweightInstaller.Cmd.CommandResolver.Resolve(String[] args)
   at LightweightInstaller.Program.Main(String[] args)

我不知道该怎么办。任何想法?谢谢! :)

Docker for Windows 仅在 Windows 10 上可用。如果您无法升级到 Windows 10,请考虑使用 Docker 工具箱: https://docs.docker.com/toolbox/toolbox_install_windows/