windows docker防止docker使用默认的wsl

因为默认的wsl有时候会使用wsl1,而docker无法运行在wsl1中
需要关闭
设置 -> Resources -> WSL integration
Enable integration with my default WSL distro

这样docker会被安装在docker-desktop这个wsl中

发表新评论