有谁知道如何在带有centos基础图像的docker容器内安装nfs共享?我试过这个命令:
mount server:/dir /mount/point
Run Code Online (Sandbox Code Playgroud)
并得到下一个错误:
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
当我尝试使用-o nolock选项时,错误是:
mount.nfs: Operation not permitted
Run Code Online (Sandbox Code Playgroud)