How do I ssh into the VM for Minikube?

前端 未结 8 2064
予麋鹿
予麋鹿 2021-01-29 23:03

What is the username/password/keys to ssh into the Minikube VM?

8条回答
  •  [愿得一人]
    2021-01-29 23:11

    I too wanted to login without the Minikube command. I found that it drops the SSH key it generates into ~/.minikube/machines//id_rsa.

    My machine was named the default "minikube", and therefore I could do:

    ssh -i ~/.minikube/machines/minikube/id_rsa docker@$(minikube ip)
    

提交回复
热议问题