<pre><code>admin@C02D842CML85 ~ % kubectl get pods -A -o wide

NAMESPACE     NAME                               READY   STATUS    RESTARTS        AGE     IP             NODE       NOMINATED NODE   READINESS GATES

kube-system   coredns-6d4b75cb6d-d6d4j           1/1     Running   1 (4h31m ago)   2d20h   172.17.0.2     minikube   &lt;none&gt;           &lt;none&gt;


kube-system   etcd-minikube                      1/1     Running   2 (4h31m ago)   2d20h   192.168.49.2   minikube   &lt;none&gt;           &lt;none&gt;

kube-system   kube-apiserver-minikube            1/1     Running   2 (4h31m ago)   2d20h   192.168.49.2   minikube   &lt;none&gt;           &lt;none&gt;

kube-system   kube-controller-manager-minikube   1/1     Running   2 (4h31m ago)   2d20h   192.168.49.2   minikube   &lt;none&gt;           &lt;none&gt;

kube-system   kube-proxy-wlwxl                   1/1     Running   1 (4h31m ago)   2d20h   192.168.49.2   minikube   &lt;none&gt;           &lt;none&gt;

kube-system   kube-scheduler-minikube            1/1     Running   2 (4h31m ago)   2d20h   192.168.49.2   minikube   &lt;none&gt;           &lt;none&gt;

kube-system   storage-provisioner                1/1     Running   8 (4h30m ago)   2d20h   192.168.49.2   minikube   &lt;none&gt;           &lt;none&gt;

portainer     portainer-868cdb78c9-25w94         1/1     Running   0               5m34s   172.17.0.3     minikube   &lt;none&gt;           &lt;none&gt;

admin@C02D842CML85 ~ % docker ps -a

CONTAINER ID   IMAGE                                 COMMAND                  CREATED      STATUS      PORTS                                                                                                                        NAMES

30609334facb   gcr.io/k8s-minikube/kicbase:v0.0.32   &quot;/usr/local/bin/entr…&quot;   2 days ago   Up 2 days   0.0.0.0:59308-&gt;22/tcp, 0.0.0.0:59309-&gt;2376/tcp, 0.0.0.0:59306-&gt;5000/tcp, 0.0.0.0:59307-&gt;8443/tcp, 0.0.0.0:59310-&gt;32443/tcp   minikube
</code></pre>
<p>As you can see ,there is only one docker container named <code>minikube</code> ,and there are may pods running on it, I was thinking that a k8s pod is made of several containers ,so there should be at least 8 docker containers.</p>
<p>It seems that docker container named <code>minikube</code> is used as a Node in k8s . Is  k8s use docker container like a native machine and runs pods on it ? so one docker container contains many k8s containers?</p>

moonkop
<p>Simply because <code>minikube</code> is a &quot;simulation&quot; of k8s. So the container you see is roughly a k8s cluster. And your pods are run inside it as separate containers (so to say containers-in-container).</p>
<blockquote>
<p>Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node.</p>
</blockquote>
<p><a href="https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/#:%7E:text=To%20get%20started%20with%20Kubernetes,%2C%20macOS%2C%20and%20Windows%20systems" rel="nofollow noreferrer">https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/#:~:text=To%20get%20started%20with%20Kubernetes,%2C%20macOS%2C%20and%20Windows%20systems</a>.</p>
