当我运行DesktopAppConverter实用程序的14342兼容版本来设置基本图像(14342)时,我在提取图像很长一段时间后会收到这两个错误:
Remove-NetNat : The requested operation is not supported.
At C:\Users\hillr\Downloads\DesktopAppConverter\converter_util\CWACNetworkSetup.ps1:143 char:9
+ Remove-NetNat -Confirm:$False
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (MSFT_NetNat (InstanceID = "DockerNAT;0"):root/StandardCimv2/MSFT_NetN
at) [Remove-NetNat], CimException
+ FullyQualifiedErrorId : Windows System Error 50,Remove-NetNat
New-ContainerNetwork : The object already exists.
At C:\Users\hillr\Downloads\DesktopAppConverter\converter_util\CWACNetworkSetup.ps1:102 char:16
+ ... $network = New-ContainerNetwork -Name $NetworkName -Mode NAT -Subnet ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-ContainerNetwork], VirtualizationException
+ FullyQualifiedErrorId : OperationFailed,Microsoft.Containers.PowerShell.Cmdlets.NewContainerNetwork
有关如何解决此问题的任何建议?我无法针对安装程序成功运行转换器。我明白了:
Exception calling "RunIsolatedProcessWithMappedDirectoryAndExport" with "6" argument(s): "could not find NAT network"
At C:\Users\hillr\Downloads\DesktopAppConverter\converter_util\Sequencer.ps1:141 char:9
+ $installerExitCode = [Microsoft.Centennial.Tools.DesktopAppCo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : Exception