-
Notifications
You must be signed in to change notification settings - Fork 11
Fails when used within Nano ContainerImage #4
Comments
Hi @bgelens, the NanoServerPackage only works for TP5 version of NanoServer (10.0.14300.1000). Can you try with any version that is greater than 10.0.14300.1000? |
I am still able to repro this issue in TP5 DockerFile contents
Console out from docker build
cc @PatrickLang |
AFAIK this is the latest Container OS Image available to me. Start-BitsTransfer https://aka.ms/tp5/6b/docker/nanoserver -Destination nanoserver.tar.gz
docker load -i nanoserver.tar.gz I don't know if there is a newer one as the ContainerImages PackageProvider doesn't work anymore as it relies on Install-ContainerOSImage (which has been removed from the Containers PowerShell module). Update: The metadata of the image shows it's version 10.0.14300.1030 |
Same issue here, nanoserver image 10.0.14300.1016. Running Install-PackageProvider NanoServerPackage -Verbose.
Update: Just a note to say this is running within a Nano server VM, rather than on Windows 10. |
Hi @marrobi, can I ask what do you get when running "Get-PackageProvider -Verbose -Debug"? |
After our S4B session, just to confirm: Host is Nano Server TP5, Container Image is 10.0.14300.1030 . From Ben's post above he has the same issue on Windows 10 as the host. Same container image version. |
We are working to identify a fix for this issue. |
Any updates? The Azure Nano VM is having this same issue (TP5). |
running 'install-nanoserverpackage' via docker.exe is not a supported scenario for Win10 desktop or Windows Server 2016. But with your request, we have added this scenario for post Win10 release feature request, with caveat that it may not be able to patch to Win10 machines. |
cc @mylesbkeating1993 since we were discussing this earlier In the meantime, do you think an approach like this would work? (untested, just proof of concept) Install-PackageProvider -Force NanoServerPackage
Import-PackageProvider NanoServerPackage
Save-NanoServerPackage -Name Microsoft-NanoServer-IIS-Package -Culture "en-US" Dockerfile:
|
Any progress on this issue? I was planning to use Nanoserver docker image for IIS but creating docker file is almost impossible since I use DSC to prep the image and can not load DSC package into container. |
also wondering about if there are any progress. |
@PatrickLang :) |
Nothing we can share yet. It's still being considered but as @xumins mentioned this would be for the next version. Things would need to change inside the nanoserver image to support downloading and installing Nano Server feature packages through PowerShell or DSC |
When I want to use the NanoServerPackage provider inside of a running Nano Container it fails. See image for details
The text was updated successfully, but these errors were encountered: