Windows Containers


Install-ContainerOSImage failes on Nano


I remoted to a Nano TP4 VM in Azure:
PS >Install-PackageProvider ContainerProvider -Force
works fine
PS > Find-ContainerImage
Name Version Description
---- ------- -----------
NanoServer 10.0.10586.0 Container OS Image of Windows Se...
WindowsServerCore 10.0.10586.0 Container OS Image of Windows Se...
works fine
but:
PS > Install-ContainerImage -Name NanoServer
Install-ContainerOSImage : The term 'Install-ContainerOSImage' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Program Files\WindowsPowerShell\Modules\ContainerProvider\0.5.2\ContainerProvider.psm1:245 char:5
+ Install-ContainerOSImage -WimPath $Destination `
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Install-ContainerOSImage:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
are there some preperation need to be done to the nano host OS vhdx?
If yes, how would you manage that in Azure or afterwards?
some verbose output:
VERBOSE: Saving to C:\Users\Falco\AppData\Local\Temp\NanoServer.wim
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''className' = win32_operatingsystem,'namespaceName' = root\cimv2'.
VERBOSE: Operation 'Enumerate CimInstances' complete.
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''className' = win32_operatingsystem,'namespaceName' = root\cimv2'.
VERBOSE: Operation 'Enumerate CimInstances' complete.
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''className' = win32_operatingsystem,'namespaceName' = root\cimv2'.
VERBOSE: Operation 'Enumerate CimInstances' complete.
VERBOSE: Downloading NanoServer. Version: 10.0.10586.0
VERBOSE:
https://pshctnoncdn.blob.core.windows.net/pshctcontainer/CBaseOs_th2_release_10586.0.151029-1700_amd64fre_NanoServer_en-us.wim?sv=2015-02-21&sr=b&(.......)
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''className' = win32_operatingsystem,'namespaceName' = root\cimv2'.
VERBOSE: Operation 'Enumerate CimInstances' complete.
VERBOSE: Importing function 'Invoke-HTTPClient'.
VERBOSE: Importing function 'Save-HTTPItem'.
VERBOSE: Importing function 'Save-RSTBlobItem'.
VERBOSE: Downloaded in 0 hours, 0 minutes, 37 seconds.
Install-ContainerOSImage : The term 'Install-ContainerOSImage' is not recognized as the name of a cmdlet, function, script file, or operable
program.
I guess the nano server image of azure is lacking the container option?
what is the purpose of this forums, if nobody can help or even try to help?
Sorry for the delayed response, you are correct, at this time the nano server image in Azure is not configured with the container role.
neilp

Related Links

Does Azure Container Service support auto-scaling the machines and VNET?
Local Registry
Issue with running containers on docker- windows server 2016 standard
How to add a network interface after a windows container running with ---network none?
Parameterizing web.config, etc.
Windows 10 Anniversary Update Container Feature Missing Install-ContainerOSImage
Windows authentication of an app hosted in Windows Container
File shares in a container
Can't run a container on Windows Server 2016 TP5: winapi error #3221227274 (0xc000070a)
Error starting Docker service
RUN powershell -Command C:\myfolder\Setup.exe /qn arg0 arg1 arg2
Can't run a container on Windows Server 2016 TP5: winapi error 0xc000070a
execute the command "docker run -it -p 80:80 microsoft/iis:windowsservercore cmd" and the container will exit right now
Unable to run nanoserver image on windows 10 anniversary update
can not get into the container using the command "docker exec -it xxx cmd" on the background container
Fix For Container Start Failures: Update Windows Container base OS images

Categories

MSDN
Windows Desktop Develo...
Windows Phone Dev Center
Visual Studio Team Fou...
Smart Device Development
Windows Forms
Feedback and Discussions
ScriptJunkie
Development
Samsung PC
Windows Hardware Devel...
Open Specifications
Silverlight
Other Forums
Archived Forums N-R
Archived Forums Visual...
Archived Forums
Where is the Forum For…?
Visual Studio Editor
MSBuild
Developing Universal W...
Publishing Windows Sto...
Windows Desktop Optica...
Application Security f...
Windows Desktop Search...
Office 365 for Developers
SharePoint 2013 - Setu...
Cloud Services (Web an...
Azure Virtual Machines
Azure Cache
Azure Stream Analytics
Azure Batch
Azure Log Analytics
Azure Logic Apps
Azure Security Center
Team Foundation Server...
Team Foundation Server...
Team Foundation Server...
Software Modeling Tools
BizTalk Server General
Commerce Server 2007
ADO.NET Managed Providers
XML, System.Xml, MSXML...
Microsoft Live Labs Volta
JScript Native
Scripting
Partnering with Microsoft
SyncFx – Microsoft Syn...
Microsoft Robotics - S...
.NET Compact Framework
Data Mining
SQL Server Tools
.NET Framework inside ...
SQL Server Data Access
Database Mirroring
SQL Server PowerPivot ...
Windows Embedded 8 Sta...
SQL Server 2012 PowerP...
SQL Server 2012 Analys...
SQL Server 2012 PowerP...
SQL Server 2012 SQL To...
Server Virtualization
Windows Live Messenger...
Windows Live ID: Devel...
Orchard - Help and Sup...
MSDN Magazine
The Samsung Windows De...
Bing Maps REST, SOAP, ...
SharePoint Server Prot...
Windows File Sharing P...
SQL Server Protocols
Project Server - Setup...
Microsoft Atlas APIs: ...
Exchange Server Develo...
Microsoft Lync Server ...
Silverlight 4
Report a Silverlight Bug
Performance Profiling ...
Windows Performance To...
Retired InfoPath Forms...
Retired SharePoint Wor...
Retired SharePoint Col...
Project Standard and P...
.NET Framework 4 Relea...
Announcements about pr...
AppFabric Service and ...
Azure Startups
Building Windows Store...
CAT.NET
Core Coding Experience...
Deep Zoom Composer
Direct3D 10
Chart Controls for .NE...
Game Technologies: Dir...
Game Technologies: Gen...
General Troubleshootin...
Git, Mercurial and Dro...
ISV Community Days
LightSwitch in Visual ...
Office Development wit...
patterns & practices: ...
NUI API and Programmin...
Parallel Programming w...
Search Server: Report ...
Service Bus EAI & EDI ...
SQL Server in Azure VMs
SQL Creation
SQL Server 2014 Analys...
Team Foundation Server...
Transactions Programming
TFS Deployment to Azure
Tailoring your Windows...
Visual Basic for Appli...
Visual Studio Code Ana...
Visual Studio Team Sys...
Windows Events
Building Windows Store...
XML in Visual Studio 2...
XML in Windows (MSXML ...
.NET Native Preview
SQL Server 2016 Preview
Windows Containers
Microsoft Graph

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile