1. minikube
挂载指定的目录到 minikube 中
1.1. 帮助
[minikube@localhost ~]$ minikube mount --help
Mounts the specified directory into minikube.
Options:
--9p-version='9p2000.L': Specify the 9p version that the mount should use
--gid='docker': Default group id used for the mount
--ip='': Specify the ip that the mount should be setup on
--kill=false: Kill the mount process spawned by minikube start
--mode=493: File permissions used for the mount
--msize=262144: The number of bytes to use for 9p packet payload
--options=[]: Additional mount options, such as cache=fscache
--port=0: Specify the port that the mount should be setup on, where 0 means any free port.
--type='9p': Specify the mount filesystem type (supported types: 9p)
--uid='docker': Default user id used for the mount
Usage:
minikube mount [flags] <source directory>:<target directory> [options]
Use "minikube options" for a list of global command-line options (applies to all commands).
1.2. 选项
选项 | 描述 | 描述 |
---|---|---|
--9p-version='9p2000.L' | - | 挂载时使用指定 9p 版本 |
--gid='docker' | - | 挂载路径时默认的 group id |
--ip='' | - | 指定安装该挂载的ip |
--kill=false | - | 杀死由 minikube 启动产生的挂载进程 |
--mode=493 | - | 挂载文件的权限 |
--msize=262144 | - | 使用 9p 时设置包大小的字节 |
--options=[] | - | 添加额外的选项,如 cache=fscache |
--port=0 | - | Specify the port that the mount should be setup on, where 0 means any free port. |
--type='9p' | - | Specify the mount filesystem type (supported types: 9p) |
--uid='docker' | - | Default user id used for the mount |