How to enable the Windows 10 “Containers” feature?

十年热恋 提交于 2019-12-21 04:51:35

问题


Using the latest Windows 10 Fast Ring build 14316 (inside a VMware virtual machine), I'm trying to make the Desktop App Converter function working.

When running the PowerShell script as advised:

PS C:\> .\DesktopAppConverter.ps1 -Setup -BaseImage .\BaseImage-14316.wim

I'm getting an error:

Assert-RequiredFeatureEnabled: fatal error 1000: required feature is not installed or enabled. Please refer to machine setup instructions.
In C:\MyPath\DesktopAppConverter\converter_util\EnvironmentAssertions.ps1:40 Zeichen:9

When looking into the mentioned source code, it seems that this line fails:

$feature = Get-WindowsOptionalFeature -Online -FeatureName "Containers"

I've already tried to enable various Windows features without success.

My question:

What is this "Containers" feature and how to enable it?


回答1:


https://msdn.microsoft.com/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter Supported operating system

Windows 10 Anniversary Update Enterprise edition preview (Build 10.0.14316.0 and later)




回答2:


Now, you need to enable "Get Insider Preview builds".

Here where it is:




回答3:


Containers are part of Hyper-V running in Windows Server only. I do not think that they exist for Windows 10 OS.

See here for reference.



来源:https://stackoverflow.com/questions/36590514/how-to-enable-the-windows-10-containers-feature

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!