我试图在WSL中使用systemctl,所以我使用吉特布的剧本来安装systemd,但是安装之后,我无法从WSL运行docker桌面。停靠桌面安装在Win10上,但在安装systemd之前,我可以从WSL运行docker。为什么我现在不能运行它?有办法解决吗?
我在码头桌面上选择了Enable integration with my default WSL distro
下面是我尝试使用docker时的输出:
(base) alma@DESKTOP-8EH3B7O:~$ docker --version
The command 'docker' could not be found in this WSL 2 distro.
We recommend to activate the WSL integration in Docker Desktop settings.
For details about using Docker Desktop with WSL 2, visit:
https://docs.docker.com/go/wsl2/发布于 2022-07-20 14:12:12
虽然这可能不会直接回答你的问题(或可能),但有几个适用于它的注释:
https://stackoverflow.com/questions/73040731
复制相似问题