Search code examples
minikube

Cannot SSH log into docker created by minikube with Hyper-V driver


I have installed minikube and did successfully create a cluster with minikube start --driver=hyperv, perhaps. I deduce that it is successfully created because after minikube status I got output that all is running and configured.

The next step I do is to ssh docker@IP_ADDRESS while IP_ADDRESS is the one I got from minikube ip command.

The result is that I am prompted for the password. I type tcuser but it seems that password is incorrect.

Where to look for now? Is password wrong or maybe something is not set up properly?


Solution

  • Please use the SSH private key on Minikube (already created), no need for password:

    ssh -i $(minikube ssh-key) docker@$(minikube ip)