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'(第一个选项)
WSL--之前
sudo nano/etc/wsl.conf
如果还不存在,请添加此行: [boot] systemd =trueSAVE文件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