I安装了Win10 Home的Docker桌面。一切都很好,我能够启动Minikube。 后来我决定停止vmmem.exe,因为我想玩游戏。 运行以下命令: WS ...

问题描述 投票:0回答:2

wsl --shutdown

现在已经停止运行,但是我该如何重新启动?

Vmmem.exe
给出以下错误

minikube start

* minikube v1.22.0 on Microsoft Windows 10 Home Single Language 10.0.19041 Build 19041 * Using the docker driver based on existing profile X Exiting due to PROVIDER_DOCKER_VERSION_EXIT_1: "docker version --format -" exit status 1: error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version": open //./pipe/docker_engine: The system cannot find the file specified. * Documentation: https://minikube.sigs.k8s.io/docs/drivers/docker/

给予以下

wsl -l -v
我在这里想念什么?任何帮助都非常感谢
    


开机DockerDesktop
在顶栏中单击“故障排除”图标(在设置和签名之间)

单击'restart'(第一个选项)
docker windows-subsystem-for-linux minikube
2个回答
29
投票
    现在重新启动Docker,您将在WSL
  1. 中启用它
  2. 上述此问题的解决方案:
  3. “尝试使用SystemCtl:System尚未使用SystemD作为Init System(PID 1)启动系统时会收到以下消息。无法操作。”
您必须在WSL2中执行此命令:

WSL--之前

0
投票
Wsl -shutdown

sudo nano/etc/wsl.conf

如果还不存在,请添加此行: [boot] systemd =true

SAVE文件wsl.conf(ctrl + x,y输入之前)。

Wsl -shutdown

Systemctl状态Docker

步骤运行WSL2

上的安装和运行Docker守护程序

安装步骤:

NAME STATE VERSION * Ubuntu-20.04 Stopped 2 docker-desktop-data Stopped 2 docker-desktop Stopped 2

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.