Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minikube start --driver=docker fails #18752

Open
venkat7294 opened this issue Apr 25, 2024 · 0 comments
Open

minikube start --driver=docker fails #18752

venkat7294 opened this issue Apr 25, 2024 · 0 comments

Comments

@venkat7294
Copy link

What Happened?

I am new to docker and learning. I am using Mac M1 and I tried Virtual box which did not work. Then tried using docker and it throws an error as below:

minikube start --driver=docker
😄 minikube v1.33.0 on Darwin 14.4.1 (arm64)
✨ Using the docker driver based on user configuration
📌 Using Docker Desktop driver with root privileges
👍 Starting "minikube" primary control-plane node in "minikube" cluster
🚜 Pulling base image v0.0.43 ...
💾 Downloading Kubernetes v1.30.0 preload ...
> preloaded-images-k8s-v18-v1...: 319.81 MiB / 319.81 MiB 100.00% 87.08 M
🔥 Creating docker container (CPUs=2, Memory=2200MB) ...
🐳 Preparing Kubernetes v1.30.0 on Docker 26.0.1 ...
❗ kubeadm certificates have expired. Generating new ones...

❌ Exiting due to GUEST_CERT: Failed to setup certs: renew expired kubeadm certs: kubeadm certs renew: /bin/bash -c "sudo env PATH="/var/lib/minikube/binaries/v1.30.0:$PATH" kubeadm certs renew all --config /var/tmp/minikube/kubeadm.yaml": Process exited with status 1
stdout:

stderr:
your configuration file uses an old API spec: "kubeadm.k8s.io/v1beta2". Please use kubeadm v1.22 instead and run 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.
To see the stack trace of this error execute with --v=5 or higher

╭───────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ 😿 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. │

If anyone is familiar with this error, please help me resolve. Thanks

Attach the log file

logs.txt

Operating System

macOS (Default)

Driver

Docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant