popcell 在 wsl镜像模式随机报错,调出日志codex一下就解决了 中发帖
google搜了一下第一个是l站的帖子,还在github前面 😄
看到这个贴子,wsl的github仓库有个收集日志的powershell脚本
wsl2报错,一个诡异的解决方法 - 开发调优 - LINUX DO
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
重启wsl复现了一下报错
wsl: 出现了内部错误。
错误代码: CreateInstance/CreateVm/Conf...