netcore docker下https请求错误 /nonexistent/.dotnet/corefx/cryptography/x509stores/ca

没有存放https根证书目录

解决方法 在Dockerfile创建程序目录时,创建nonexistent目录即可。

RUN mkdir /app /nonexistent &&
    chown 65534:65534 /nonexistent &&
    chown 65534:65534 /app

  

原文地址:https://www.cnblogs.com/ruyun/p/9391052.html