minikube mount crashes: mount system call fails

走远了吗. 提交于 2019-12-23 04:51:14

问题


I am running minikube on my mac (running OSX 10.14.5)

minikube version: 1.1.0

minikube is using VirtualBox

I would like to have a single set of kubernetes yaml files that I use in different environments. Therefore, I'm trying to mount the same directory I would use in other environments into my minikube. (If there's a different way to go about this but ease development let me know.)

Anyway, the mount fails.

$ minikube mount /etc/vsc:/etc/vsc
📁  Mounting host path /etc/vsc into VM as /etc/vsc ...
💾  Mount options:
    ▪ Type:     9p
    ▪ UID:      docker
    ▪ GID:      docker
    ▪ Version:  9p2000.L
    ▪ MSize:    262144
    ▪ Mode:     755 (-rwxr-xr-x)
    ▪ Options:  map[]
🚀  Userspace file server: ufs starting

💣  mount failed: mount: /etc/vsc: mount(2) system call failed: Connection timed out.
: Process exited with status 32

来源:https://stackoverflow.com/questions/57012731/minikube-mount-crashes-mount-system-call-fails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!