An experiment to run NFS Ganesha VFS module in a Container
Make sure rpcbind
service is started, otherwise VFS module failed to unregister
error will occur:
On RHEL based Linux:
# yum install rpcbind -y
# systemctl start rpcbind
# docker build -t ganesha .
# # exports /home/exports using the following command
# docker run -ti --net=host --privileged -v /home/exports/:/exports ganesha
# # test mount on another terminal
# mount localhost:/exports /mnt