kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.27k stars 4.87k forks source link

Failed to start minikube on Virtual Box #18730

Open SunilKumarhsdev opened 5 months ago

SunilKumarhsdev commented 5 months ago

What Happened?

PS C:\WINDOWS\system32> minikube start W0423 17:59:45.371682 8992 main.go:291] Unable to resolve the current Docker CLI context "default": context "default": context not found: open C:\Users\Admin.docker\contexts\meta\37a8eec1ce19687d132fe29051dca629d164e2c4958ba141d5f4133a33f0688f\meta.json: The system cannot find the path specified.

X Exiting due to GUEST_START: failed to start node: Failed kubeconfig update: decode kubeconfig from "C:\Users\Admin\.kube\config": decode data: : yaml: control characters are not allowed ╭─────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ If the above advice does not help, please let us know: │ │ https://github.com/kubernetes/minikube/issues/new/choose │ │ │ │ * Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯

Attach the log file

logs.txt

Operating System

Windows

Driver

VirtualBox

Ritikaa96 commented 3 months ago

I guess this https://github.com/kubernetes/minikube/issues/5907 issue discussion can help as the error in log is :

decode kubeconfig from "C:\Users\Admin\.kube\config": decode data: : yaml: control characters are not allowed
k8s-triage-robot commented 1 week ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale