Docker Community Forums

Share and learn in the Docker community.

Windows Container not working on Windows VM repost

Hello to all of you. My last topic was corrupted, so i post my question again.

I try to build a image base on windows:

mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019

In the process of building my own image i try to download python with Invoke-WebRequest. It ran without any problem before I upgraded my docker desktop to the newest version 3.1.0(51484), but with this new version the build fails with the error:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
I don’t know how to fix this error, I read serveral posts and tried serveral mehtods to fix this, but nothing worked for me.
I also tried more than one urls, but all failed. Also google faild with the same error.

I hope you’re abled to help me with this. I will tank you upfront for your help.