<p>I was trying to use <code>minikube</code> for local deployment. But I couldn't figure out where exactly minikube deploy container. <br>
From what I understand <code>minikube</code> is a virtual machine that is completely different machine from host except they share resources. So when we deploy any container it should be deployed in <code>minikube vm</code> and not in host machine.
But when I started minikube with</p>
<pre><code>sudo minikube start --driver=none --apiserver-ips 127.0.0.1 --apiserver-name localhost
</code></pre>
<p>Then I deployed my container through kubernetes.
After executing my <code>docker ps</code> command I can see them in my local machine.</p>
<pre><code>fb41c2836a70        2f26ec35a739          &quot;/bin/bash -ce someApp&quot;  23 minutes ago      Up 23 minutes k8s_someapp-7cbc9c4c87-lrrpm_default_d50b97bc-5200-404d-ad33-0d235d647614_0
a5faa3ec7539        k8s.gcr.io/pause:3.2  &quot;/pause&quot;                 23 minutes ago      Up 23 minutes k8s_app-7cbc9c4c87-lrrpm_default_d50b97bc-5200-404d-ad33-0d235d647614_0
e175dbd7b6ea        207456039af0          &quot;/bin/bash -ce cmd&quot;      53 minutes ago      Up 53 minutes k8s_appd-69585dc55c-f7k4d_default_a6619c13-7341-4ca3-9dee-ee26b8fd0b2a_1

</code></pre>
<p>What is going on here I couldn't understand.</p>

Pranjal Doshi
<p>minikube is NOT a virtual machine, minikube is a cli tool,</p>
<p>minikube starts a VM with k8s installed and running. By specifying <code>--driver=none</code> you are sying: &quot;I don't want to use any vm driver&quot;, and so minikube won't use any driver and just start k8s on your host.</p>
<p>If you want to start a k8s in a VM you need to use a VM driver. From <code>minikube start --help</code>:</p>
<blockquote>
<p>--driver='': Driver is one of: virtualbox, vmwarefusion, kvm2, vmware, none,docker, podman (experimental) (defaults to auto-detect)</p>
</blockquote>
<p>If you want to use virtualization, use one of the supported drivers.</p>
<p>Which one? Virtualbox is free and available for most platforms. kvm2 is linux only. Docker is not a VM but a container isolation platform.</p>
<p>Quick google search showed me this link: <a href="https://minikube.sigs.k8s.io/docs/drivers/" rel="nofollow noreferrer">https://minikube.sigs.k8s.io/docs/drivers/</a>.
Check it out to learn more about supported drivers.</p>
