You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround
Use -RequiredVersion instead of -MaximumVersion. Example is below
Install-Package -Name Docker -ProviderName DockerMsftProvider -Update -RequiredVersion 19.03.14 -Force
Investigation Notes
Looks like version comparison logic only runs against the version identified in the channels (18.03, 17.06, 18.09, 19.03, 20.10).
The text was updated successfully, but these errors were encountered:
Repro Steps
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name "DockerMsftProvider" -Repository PSGallery -Force -Confirm:$False
Install-Package -Name docker -ProviderName DockerMsftProvider -Force -Confirm:$False -MaximumVersion 19.03.14
Expected Output
19.03.14 is installed
Actual Output
18.09.14 is installed
Workaround
Use -RequiredVersion instead of -MaximumVersion. Example is below
Install-Package -Name Docker -ProviderName DockerMsftProvider -Update -RequiredVersion 19.03.14 -Force
Investigation Notes
Looks like version comparison logic only runs against the version identified in the channels (18.03, 17.06, 18.09, 19.03, 20.10).
The text was updated successfully, but these errors were encountered: