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

没有存放https根证书目录

 

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

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

  

posted @ 2018-07-30 15:59  大王快跑丶  阅读(191)  评论(0编辑  收藏  举报