I am trying to mount an .iso image inside of a WindowsServerCore:ltsc2019 container using the PowerShell cmdlet: Mount-DiskImage . However, the mount operation fails with the following error:
A virtual disk support provider for the specified file was not found.
I tried with a Windows Server Base OS image as well and i face the same error on a Windows base OS image as well.
I did like to know if the cmdlet Mount-DiskImage is supported inside of a Windows container. If not, what is the alternative to mount an .iso image inside of a Windows container?
Here is the error:
Mount-DiskImage : A virtual disk support provider for the specified file was not found.
At line:1 char:1
- Mount-DiskImage -ImagePath "C:\Users\ContainerAdministrator\AppData\ …
+ CategoryInfo : NotSpecified: (MSFT_DiskImage:ROOT/Microsoft/.../MSFT_DiskImage) [Mount-DiskImage], CimException + FullyQualifiedErrorId : HRESULT 0xc03a0014,Mount-DiskImage