Docker Community Forums

Share and learn in the Docker community.

Unable to find package provider power shell error

(Ralph Kincade) #1

The Docker for Windows community forum is place where users can meet and discuss Docker for Windows and related technologies.
If you encounter problems with Docker for Windows, we recommend:

Finally, if your issue has not been addressed elsewhere, running:

  • :whale: :arrow_right:️ Settings :arrow_right:️ Diagnose & Feedback :arrow_right:️ Open Issues.

This forum is not an official product support or issue reporting channel.

(Ralph Kincade) #2

I have install container support feature and this is running in azure

(Ralph Kincade) #3

This is a new server that has been brought up in Azure and has all the patches for windows and the containers role was installed via the GUI

(Ralph Kincade) #4

fixed I missed a step

Install-PackageProvider -Name NuGet -MinimumVersion -Force
Install-Module -Name DockerMsftProvider -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
Restart-Computer -Forc

(Michael Friis) #5

Awesome, glad you worked it out

(Lsacco) #6

I tried everything here and more to get it installed on a Windows 2016 server. The only way I could is by using the script method found here in the second section. However, you have to use elevated permissions on Powershell to run any Docker commands which won’t work to well for us on AWS workspaces. Things are just so much easier on MBP. :confused:

(Siafu) #7

I solved this by running set-executionpolicy unrestricted