windows docker防止docker使用默认的wsl
因为默认的wsl有时候会使用wsl1,而docker无法运行在wsl1中
需要关闭设置 -> Resources -> WSL integrationEnable integration with my default WSL distro
这样docker会被安装在docker-desktop这个wsl中
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Dev!
因为默认的wsl有时候会使用wsl1,而docker无法运行在wsl1中
需要关闭设置 -> Resources -> WSL integrationEnable integration with my default WSL distro
这样docker会被安装在docker-desktop这个wsl中