minikube hostpath mount permissions minikube hostpath mount permissions kubernetes kubernetes

minikube hostpath mount permissions


As @Matthew L Daniel mentioned in the comments, the main purpose of using hostPath is to mount a local folder from your machine which is hosting minikube inside to the nested Pod, therefore it's not necessary to mount local directory inside to minikube. Also, take a look at this article which explains some restrictions about host folder mounting for the particular VM driver in minikube.