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 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 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.