this command :
sudo minikube start --driver=docker --force
and I got this error :
stderr:
The connection to the server localhost:8443 was refused - did you specify the right host or port?
What did I do wrong?
what is the output of minikube status?
Check the logs and check if any process is using that port
E0605 14:31:59.358534 442742 status.go:376] failed to get storage capacity of /var: NewSession: new client: new client: Error creating new native config from ssh using: docker, &{[] [/home/masoud/.minikube/machines/minikube/id_rsa]}: open /home/masoud/.minikube/machines/minikube/id_rsa: no such file or directory E0605 14:31:59.358590 442742 status.go:260] status error: NewSession: new client: new client: Error creating new native config from ssh using: docker, &{[] [/home/masoud/.minikube/machines/minikube/id_rsa]}: open /home/masoud/.minikube/machines/minikube/id_rsa: no such file or directory minikube type: Control Plane host: Error kubelet: Nonexistent apiserver: Nonexistent kubeconfig: Configured
No, that port was not in use
Обсуждают сегодня