viv*_*una 24 virtual-machine kubernetes rancher windows-subsystem-for-linux
在我的虚拟机中安装最新稳定的 Rancher Desktop 时,我收到以下错误。
有人可以帮忙吗?
错误:
错误:wsl.exe 退出,代码为 4294967295
命令:
wsl --distribution rancher-desktop --exec mkdir -p /mnt/wsl/rancher-desktop/run/data
Run Code Online (Sandbox Code Playgroud)
日志:
2022-02-02T09:58:39.490Z: Running command wsl --distribution rancher-desktop --exec wslpath -a -u C:\Users\VIVEK~1.NUN\AppData\Local\Temp\rd-distro-gGd3SG\distro.tar...
2022-02-02T09:58:40.641Z: Running command wsl --distribution rancher-desktop --exec tar -cf /mnt/c/Users/VIVEK~1.NUN/AppData/Local/Temp/rd-distro-gGd3SG/distro.tar -C / /bin/busybox /bin/mount /bin/sh /lib /etc/wsl.conf /etc/passwd /etc/rancher /var/lib...
2022-02-02T09:58:42.628Z: Running command wsl --import rancher-desktop-data C:\Users\Vivek.Nuna\AppData\Local\rancher-desktop\distro-data C:\Users\VIVEK~1.NUN\AppData\Local\Temp\rd-distro-gGd3SG\distro.tar --version 2...
2022-02-02T09:58:44.025Z: Running command wsl --distribution rancher-desktop-data --exec /bin/busybox [ ! -d /etc/rancher ]...
2022-02-02T09:58:44.025Z: Running command wsl --distribution rancher-desktop-data --exec /bin/busybox [ ! -d /var/lib ]...
2022-02-02T10:03:54.533Z: Running command wsl --terminate rancher-desktop...
2022-02-02T10:03:54.534Z: Running command wsl --terminate rancher-desktop-data...
2022-02-02T10:03:54.971Z: Running command wsl --distribution rancher-desktop --exec mkdir -p /mnt/wsl/rancher-desktop/run/data...
2022-02-02T10:04:03.418Z: WSL: executing: mkdir -p /mnt/wsl/rancher-desktop/run/data: Error: wsl.exe exited with code 4294967295
Run Code Online (Sandbox Code Playgroud)
Bra*_*ung 34
我在 Windows 10 中遇到了同样的问题。
以下解决方案帮助了我:
wsl --update
Run Code Online (Sandbox Code Playgroud)
Rancher Desktop 现在运行良好。
Rancher Desktop安装完成后,您可以在Windows命令行中成功使用docker
和命令。kubectl
错误:wsl.exe 退出,代码为 4294967295 #1328 - github
use*_*808 13
> wsl --unregister rancher-desktop
> wsl --unregister rancher-desktop-data
Run Code Online (Sandbox Code Playgroud)
小智 13
我按照此处的步骤 4 和 5 解决了该问题: https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-包裹
我通过查看 %USERPROFILE%\AppData\Local\rancher-desktop\logs\wsl-exec.log 找到了这个答案,其中显示:“WSL 2 需要更新其内核组件。有关信息,请访问https://aka。 ms/wsl2kernel"
归档时间: |
|
查看次数: |
32915 次 |
最近记录: |