<p>I run a Kubernetes cluster on my mac using the latest Docker community edition. I usually do:</p>

<pre><code>$  minikube start --vm-driver=hyperkit
</code></pre>

<p>and it works well for me.</p>

<p>Today, I ran that command multiple times in a script. Now, how do I know how many minikube VMs are running on a mac? How do I delete all but one of them? Can I see a list of all minikube vms running? </p>

<pre><code>$ minikube status
</code></pre>

<p>shows:</p>

<pre><code>minikube: Running

cluster: Running

kubectl: Correctly Configured: pointing to minikube-vm at 192.168.64.3
</code></pre>

<p>Is running minikube start twice not harmful?</p>

<p>I am running minikube version: v0.30.0 on Mac OS High Sierra.</p>

<pre><code>$  kubectl version
</code></pre>

<p>shows:</p>

<pre><code>Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.0", 
GitCommit:"0ed33881dc4355495f623c6f22e7dd0b7632b7c0", GitTreeState:"clean", BuildDate:"2018-09-28T15:20:58Z", GoVersion:"go1.11", Compiler:"gc", Platform:"darwin/amd64"}
</code></pre>

<p>Thanks for reading.</p>

<p>You are using the <a href="https://github.com/moby/hyperkit" rel="nofollow noreferrer"><code>Hyperkit</code></a> minikube driver  that uses the <code>/usr/local/bin/hyperkit</code> command line (in reality it uses the <a href="https://github.com/mist64/xhyve" rel="nofollow noreferrer">xhyve</a> Hypervisor). So a simple:</p>

<pre><code>$ ps -Af | grep hyperkit
    0  9445     1   0  1:07PM ttys002    1:45.27 /usr/local/bin/hyperkit -A -u -F /Users/youruser/.minikube/machines/minikube/hyperkit.pid -c 2 -m 2048M -s 0:0,hostbridge -s 31,lpc -s 1:0,virtio-net -U 2caa5ca9-d55c-11e8-92a0-186590def269 -s 2:0,virtio-blk,/Users/youruser/.minikube/machines/minikube/minikube.rawdisk -s 3,ahci-cd,/Users/youruser/.minikube/machines/minikube/boot2docker.iso -s 4,virtio-rnd -l com1,autopty=/Users/youruser/.minikube/machines/minikube/tty,log=/Users/youruser/.minikube/machines/minikube/console-ring -f kexec,/Users/youruser/.minikube/machines/minikube/bzimage,/Users/youruser/.minikube/machines/minikube/initrd,earlyprintk=serial loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes base host=minikube
</code></pre>

<p>will tell you how many Hyperkit processes/VMs you are running. AFAIK, <a href="https://github.com/kubernetes/minikube/issues/94" rel="nofollow noreferrer">minikube only supports one</a>, but you could have another one if you have <a href="https://docs.docker.com/v17.12/docker-for-mac/install/" rel="nofollow noreferrer">Docker for Mac</a> installed.</p>

<p>Then if you follow this: <a href="https://stackoverflow.com/questions/39739560/how-to-access-the-vm-created-by-dockers-hyperkit">How to access the VM created by docker&#39;s HyperKit?</a>. You can connect to VM an see what's running inside:</p>

<pre><code>$ sudo screen /Users/youruser/.minikube/machines/minikube/tty
Welcome to minikube
minikube login: root
                         _             _
            _         _ ( )           ( )
  ___ ___  (_)  ___  (_)| |/')  _   _ | |_      __
/' _ ` _ `\| |/' _ `\| || , &lt;  ( ) ( )| '_`\  /'__`\
| ( ) ( ) || || ( ) || || |\`\ | (_) || |_) )(  ___/
(_) (_) (_)(_)(_) (_)(_)(_) (_)`\___/'(_,__/'`\____)

# docker ps
...  &lt;== shows a bunch of K8s containers
</code></pre>
