<p>Very simple question, where is the <code>emptyDir</code> located in my minikube VM? Since the <code>emptyDir</code> volume is pod dependent, it should exist on the VM  otherwise it will die with a container exiting. When I do <code>minikube ssh</code> I cannot locate the volume. I need to inspect it and see if my containers are behaving how I want them to, copying some files to the volume mounted on them. Trying <code>find / -type d -name cached</code> results in many <code>permission denied</code>s and the volume is not in the rest of the dirs. My <code>YAML</code> has the following part:</p>

<pre><code>...
volumes:
    - name: cached
      emptyDir: {}
</code></pre>

<p>and also commands in a container where the container copies some files to the volume:</p>

<pre><code>containers:
    - name: plum
      image: plumsempy/plum
      command: ["/bin/sh", "-c"]
      args: ["mkdir /plum/cached"]
      volumeMounts:
        - mountPath: /plum/cached
          name: cahced
      command: ["bin/sh/", "-c"]
      args: ["cp /plum/prune/cert.crt /plume/cached/"]
</code></pre>

<p>The container naturally exists after doing its job.</p>

<p>A better way to see if your containers are behaving is by logging in into the container using the kubectl command. </p>

<p>That said: The location should of <strong>emptyDir</strong> should be in <strong>/var/lib/kubelet/pods/{podid}/volumes/kubernetes.io~empty-dir/</strong> on the given node where your pod is running.</p>
