Mount local directory into pod in minikube

前端 未结 8 503
失恋的感觉
失恋的感觉 2020-12-03 02:23

I am running minikube v0.24.1. In this minikube, I will create a Pod for my nginx application. And also I want to pass data from my local directory.

That means I wan

8条回答
  •  天涯浪人
    2020-12-03 03:18

    Not sure if I joined the party late but I did a root:root mapping by doing following command:

    minikube start --mount-string="/:/"

    This just will just mount your local file system root to minikube and keeps things seamless between the systems.Hope it helps.

提交回复
热议问题