Docker in Azure: No match was found for the specified search criteria for the provider ‘Nuget’

Working with Docker in my Azure Lab, I get the following error message when I tried to install the Docker module using PowerShell:

PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider ‘Nuget’

After googling, I did not found any root cause so I decided to check my Azure settings.

FIX

My Docker Container Host was creating in a Virtual Network using a custom DNS which was not binded to internet. I switched from ‘custom’ to ‘default’ and ran once again the installation, and it worked without any issue.

 

Thanks for reading! You can follow me on Twitter @PrigentNico

 

About Nicolas 245 Articles
I work as a System Engineer, based in Switzerland with a primary focus on Microsoft technologies. I have 8 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.