ssh into minikube

Ratna
Dec 4, 2021

Since you are here you should have understand what minikube is. Minikube is basically a virtual machine or docker depends on what driver you have used when its started up initially. If you dont mention any driver in macos, by default it takes docker as default driver.

You can find different options in minikube ssh. First we need to find the node details of minikube by following command.

kubectl get no

So you are going to ssh in to utilmate node. If you mentioned profile name when you starting minikube then use option -p.

minikube -p <profileName> -n <nodeName>

Now you can run different commands like

docker ps -a

--

--

Ratna

Senior System Developer with 15 years of experience. Currently focused on microservice, Event Driven, CQRS architecture