Docker volume created with nfs server is not reflecting the data from nfs server

I have created an NFS server in an AWS Ubuntu instance. Below is the exposed nfs device from NFS server.

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvdb 30G 173M 28G 1% /mnt

Now in my swarm manager node, I am creating the nfs volume using this nfs server,

docker volume create --driver local --opt type=nfs --opt o=addr=,rw --opt device=:/dev/xvdb --name foo2

It will create the volume but inside the volume mountpoint, it is not displaying the data which is present in the NFS server’s /mnt dir. I want to use the NFS server directly, I don’t want to mount it to some local file.
What am I missing?

when you mount the your new docker volume to the container, you will see datas in the _data folder

Your volume declaration looks very puzzling… Even though the type=nfs is used, the other parameters do not remotely resamble the required parameters for a nfs-backed volume…

Please share the exact command you would use on another ec2 instance to mount that remote nfs share.