How to enable the Windows 10 “Containers” feature?

2019-03-28 03:26发布

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?

3条回答
唯我独甜
2楼-- · 2019-03-28 04:09

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

Here where it is: enter image description here

查看更多
我想做一个坏孩纸
3楼-- · 2019-03-28 04:15

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.

查看更多
祖国的老花朵
4楼-- · 2019-03-28 04:18

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)

查看更多
登录 后发表回答