docker desktop 需要使用ubantu 子系统,需要在应用商店下载,window打开应用商店无法使用的问题

 解决方案:

更新证书。

1、以管理员身份打开PowerShell。

2、 从WindowsUpdate下载根证书更新文件,本示例中文件存储路径c:\roots.sst。

certutil -generateSSTFromWU C:\roots.sst

3、批量导入证书到受信任根证书。

$sstStore = ( Get-ChildItem -Path C:\roots.sst ) 
$sstStore | Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root

4、重置一下,启动即可

 

posted @ 2024-12-22 11:02  星期三q  阅读(58)  评论(0)    收藏  举报