<p>I am trying to copy some directories into the minikube VM to be used by some of the pods that are running. These include API credential files and template files used at run time by the application. I have found you can copy files using scp into the <code>/home/docker/</code> directory, however these files are not persisted over reboots of the VM. I have read files/directories are persisted if stored in the <code>/data/</code> directory on the VM (among others) however I get <code>permission denied</code> when trying to copy files to these directories.</p>

<p>Are there:</p>

<p>A: Any directories in minikube that will persist data that aren't protected in this way</p>

<p>B: Any other ways of doing the above without running into this issue (could well be going about this the wrong way)</p>

<p>To clarify, I have already been able to mount the files from <code>/home/docker/</code> into the pods using volumes, so it's just the persisting data I'm unclear about.</p>

Sam White
<p>For minikube, data kept in <code>$HOME/.minikube/files</code> directory is copied to <code>/</code> directory in VM host by minikube.</p>
