ktv*_*ktv 6 windows docker windows-subsystem-for-linux ubuntu-18.04 wsl-2
我已按照官方网站中的说明将 docker 与 WSL 2 结合使用,并安装了 Ubuntu 18.04 for WSL 2 发行版。我认为 docker 可以自动检测我的发行版,因此我可以选择在我的 docker 桌面中使用哪个发行版。我一直在搜索这个问题,但仍然没有得到解决方案。请帮忙,谢谢。
这是 WSL 集成页面,我已将 ubuntu 18.04 设置为默认值,但仍然没有成功。

这是我拥有的 wsl 2 发行版列表
因此,我无法访问 docker 容器,它说
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
15922 次 |
| 最近记录: |