NFS设置和共享目录
架构
NFS设置
/var/lib/nfs-data/dev-7 192.168.122.0/24(rw,sync,no_root_squash,no_subtree_check)systemctl enable rpcbind
systemctl enable nfs-server
systemctl enable nfs-lock
systemctl enable nfs-idmapsystemctl start rpcbind
systemctl start nfs-server
systemctl start nfs-lock
systemctl start nfs-idmapNFS挂载(虚拟机访问物理服务器上NFS共享)
Docker共享目录
sshfs
参考
Last updated