Feature Request: xhyve driver: Allow multiple Virtio9p and NFS mounts #1837
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Feature request
OS:
Mac OS X
Driver:
xhyve
The
xhyve
driver just gained the ability to mount multiple Host folders inside the Guest virtual machine via Virtio9p (machine-drivers/docker-machine-driver-xhyve#194) or NFS (machine-drivers/docker-machine-driver-xhyve#121)It would be great if
minikube
implemented those changes too.I already wrote the code and submitted 2 PRs:
#1803 (NFS)
#1804 (Virtio9P)
Those 2 PRs allow the
minikube
user to mount Host folders inside the Guest. It introduces 4 new arguments:xhyve-nfs-share
,xhyve-nfs-shares-root
,xhyve-virtio-9p
andxhyve-virtio-9p-root
Those arguments can be used as follow:
9p
Mount Host's
/Users/
folder inside Guest, using 9p:minikube start --vm-driver=xhyve --xhyve-virtio-9p /Users
Mount Host's
/Users/
folder and/some/other/folder
inside Guest, using 9p:minikube start --vm-driver=xhyve --xhyve-virtio-9p /Users --xhyve-virtio-9p /some/other/folder
Mount Host's
/Users/
folder and/some/other/folder
inside Guest, at/my9pRoot
, using 9p:minikube start --vm-driver=xhyve --xhyve-virtio-9p /Users --xhyve-virtio-9p /some/other/folder --xhyve-virtio-9p-root /my9pRoot
If
--xhyve-virtio-9p-root
is not specified, the folders will be mounted at/xhyve-virtio9p
(xhyve
's default)NFS
Mount Host's
/Users/
folder inside Guest, using NFS:minikube start --vm-driver=xhyve --xhyve-nfs-share /Users
Mount Host's
/Users/
folder and/some/other/folder
inside Guest, using NFS:minikube start --vm-driver=xhyve --xhyve-nfs-share /Users --xhyve-nfs-share /some/other/folder
Mount Host's
/Users/
folder and/some/other/folder
inside Guest, at/myNFSSharesRoot
, using NFS:minikube start --vm-driver=xhyve --xhyve-nfs-share /Users --xhyve-nfs-share /some/other/folder --xhyve-nfs-shares-root /myNFSSharesRoot
If
--xhyve-nfs-shares-root
is not specified, the folders will be mounted at/xhyve-nfsshares
(xhyve
's default)The text was updated successfully, but these errors were encountered: