"install-package -name docker" fails on windows server 2016 standard
UPDATE: Cross posted to github repository. https://github.com/OneGet/MicrosoftDockerProvider/issues/26 Following the directions from here: https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/quick-start-windows-server I have multiple vms that cannot install the docker package. When I run the command install package, I expect the command to complete successfully, but instead it throws an error: Install-Package : The term 'Get-WindowsFeature' 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. Example Below: PS C:\> Install-Package -Name docker -ProviderName DockerMsftProvider -verbose VERBOSE: Using the provider 'DockerMsftProvider' for searching packages. VERBOSE: Download size: 0MB VERBOSE: Free space on the drive: 94081.73MB VERBOSE: Downloading https://dockermsft.blob.core.windows.net/dockercontainer/DockerMsftIndex.json to C:\Users\ADMINI~1\AppData\Local\Temp\1\DockerMsftProvider\DockerDefault_DockerSearchIndex.json VERBOSE: About to download VERBOSE: Finished downloading VERBOSE: Downloaded in 0 hours, 0 minutes, 1 seconds. VERBOSE: Performing the operation "Install Package" on target "Package 'Docker' version '17.03.0-ee' from 'DockerDefault'.". The package(s) come(s) from a package source that is not marked as trusted. Are you sure you want to install software from 'DockerDefault'? [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): a Install-Package : The term 'Get-WindowsFeature' 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 line:1 char:1 + Install-Package -Name docker -ProviderName DockerMsftProvider -verbos ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception + FullyQualifiedErrorId : FailedToDownload,Install-Package,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallP ackage
I know it sounds stupid but seems like you're not running in a not elevated session.. could it be?
Nanoserver container not working with TP5
DTC in container
problems with mount full driver for the container
Does anybody ssh to a windows container?
Windows container docker pull fails.
Error Looking at Container Network.
how to call the docker daemon in Azure VM Windows Server 2016 TP5 from a client docker on windows 10
Github container example for apache produces non-zero code 255 on TP5
TP5 Unable to run windowsservercore with docker native command
Hyper-V Error - the operation cannot be performed while the object is in its current state
Remote debugging of C++ applications using visual studio inside container
Static IP Addresses: Constraints related to NAT networks
Can I do anything right now to get Visual Studio to deploy to a windows container?
Get-EventLog inside container - InvalidOperationException
Trouble Collection TP 5
Continuous Integration - Windows, Databases, and Licenses