windows下docker desktop更新v4.38.0版本后出现一些问题

173 阅读1分钟

问题1

image.png 解决方法: github.com/docker/for-…

wsl --shutdown
wsl

问题2 wsl integration无法使用之前安装的ubuntu-22.04发行版了。貌似升级到ubuntu-24可以解决这个问题,但是我不想再重新安装一遍了,更何况还有一些数据在上面。 image.png

在终端里打开ubuntu22会直接报错

<3>WSL (322) ERROR: No such file or directory @D:/a/1/s/src/linux/mountutil\mountutilcpp.h:17 (MountEnum)
<3>WSL (322) ERROR: UtilTranslatePathList:2853: Failed to translate L:\Administrator\AppData\Local\GitHubDesktop\bin
distrod 0.1.7

USAGE:
    -bash [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -l, --log-level <log-level>    Log level in the env_logger format. Simple levels: trace, debug, info(default), warn,
                                   error

SUBCOMMANDS:
    create
    disable
    enable
    exec
    help       Prints this message or the help of the given subcommand(s)
    start
    stop

解决方法: github.com/microsoft/W… devblogs.microsoft.com/commandline… image.png