无法登录minicube!启动 miniKube 的消息让我担心:“无法解析 Docker CLI 上下文”“系统找不到路径”

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

此命令是通过 Visual Studio Code 终端窗口在 Windows 11 计算机上运行的,并且 minikube sart 命令位于该终端窗口的命令行上。 “无法..”命令受到关注。由于 Docker 被广泛使用,我想这里的人可以提供见解。

PS C:\Users\wmmth\source\docker-nodejs-basic-demo-master> `minikube start --driver=docker`

**W0930 18:48:02.301808   16048 main.go:291] Unable to resolve the current Docker CLI context "default": context "default": context not found: open C:\Users\wmmth\.docker\contexts\meta\37a8eec1ce19687d132fe29051dca629d164e2c4958ba141d5f4133a33f0688f\meta.json: The system cannot find the path specified.**

😄  minikube v1.31.2 on Microsoft Windows 11 Home 10.0.22621.2283 Build 22621.2283

✨  Using the docker driver based on existing profile

👍  Starting control plane node minikube in cluster minikube

🚜  Pulling base image ...

🏃  Updating the running docker "minikube" container ...

🐳  Preparing Kubernetes v1.27.4 on Docker 24.0.4 ...

🔎  Verifying Kubernetes components...

    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5

🌟  Enabled addons: storage-provisioner, default-storageclass

    🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default

顺便说一下,

minikube status

有类似的结果:

minikube status 

          


 W0930 19:11:44.872755    5636 main.go:291] Unable to resolve the 
current Docker CLI context "default": context "default": context not found: open C:\Users\wmmth\.docker\contexts\meta\37a8eec1ce19687d132fe29051dca629d164e2c4958ba141d5f4133a33f0688f\meta.json: The system cannot find the 
path specified.
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Running
kubeconfig: Configured
docker minikube
1个回答
0
投票

如果出现以下错误,则您的 Minikube 和 Docker Desktop 的安装可能存在一些问题。

无法解析当前的 Docker CLI 上下文“默认”:上下文“默认”:找不到上下文:打开 C:\Users\wmmth.docke

© www.soinside.com 2019 - 2024. All rights reserved.