Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Can not install Docker package with PowerShell 7. #78

Open
doctordns opened this issue Sep 17, 2019 · 0 comments
Open

Can not install Docker package with PowerShell 7. #78

doctordns opened this issue Sep 17, 2019 · 0 comments

Comments

@doctordns
Copy link

doctordns commented Sep 17, 2019

If I try to install the docker package I get an error, even using WInCompat:

PS C:\Foo> Install-package -Name Docker -ProviderName DOckerMSFTProvider -Force
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 -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (Microsoft.PowerShel…lets.InstallPackage:InstallPackage) [Install-Package], Exception
+ FullyQualifiedErrorId : FailedToDownload,Install-Package,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

The Get-WindowsFeature command does indeed exist.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant