Skip to content

Commit a324895

Browse files
committed
handbook: Document virtiofs shares
Document vfkit and krunkit new --virtiofs-share flag.
1 parent ce7a438 commit a324895

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

site/content/en/docs/handbook/mount.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,26 @@ This directory may then be referenced from a Kubernetes manifest, for example:
6767

6868
Some hypervisors, have built-in host folder sharing. Driver mounts are reliable with good performance, but the paths are not predictable across operating systems or hypervisors:
6969

70-
| Driver | OS | HostFolder | VM |
71-
| --- | --- | --- | --- |
72-
| VirtualBox | Linux | /home | /hosthome |
73-
| VirtualBox | macOS | /Users | /Users |
74-
| VirtualBox | Windows | C://Users | /c/Users |
75-
| VMware Fusion | macOS | /Users | /mnt/hgfs/Users |
76-
| KVM | Linux | Unsupported | |
77-
| HyperKit | macOS | Supported | |
78-
79-
These mounts can be disabled by passing `--disable-driver-mounts` to `minikube start`.
80-
81-
HyperKit mounts can use the following flags:
82-
`--nfs-share=[]`: Local folders to share with Guest via NFS mounts
83-
`--nfs-shares-root='/nfsshares'`: Where to root the NFS Shares, defaults to /nfsshares
70+
| Driver | OS | Host | Guest |
71+
|----------------|---------|--------------|-------------------|
72+
| VirtualBox | Linux | /home | /hosthome |
73+
| VirtualBox | macOS | /Users | /Users |
74+
| VirtualBox | Windows | C://Users | /c/Users |
75+
| VMware Fusion | macOS | /Users | /mnt/hgfs/Users |
76+
| Vfkit | macOS | configurable | /mnt/{mount-tag} |
77+
| Krunkit | macOS | configurable | /mnt/{mount-tag} |
78+
| KVM | Linux | unsupported | |
79+
| HyperKit | macOS | configurable | configurable |
80+
81+
Built-in mounts can be disabled by passing `--disable-driver-mounts` to `minikube start`.
82+
83+
Vfkit and Krunkit drivers can use the following start flags:
84+
- `--virtiofs-share=[]`: Local folders to share with guest via Virtiofs
85+
mounts. Each directory is specified with a pair: `shared-dir:mount-tag`.
86+
87+
HyperKit driver can use the following start flags:
88+
- `--nfs-share=[]`: Local folders to share with Guest via NFS mounts
89+
- `--nfs-shares-root='/nfsshares'`: Where to root the NFS Shares, defaults to /nfsshares
8490

8591
## File Sync
8692

0 commit comments

Comments
 (0)