Not able to connect from client

Somehow not able to connect to the nfs server (on Pi4). It gets created without error (from the logs). But while trying to connect, I get mount.nfs: mount(2): No such file or directory, (sudo mount -v -o port=2049 -o vers=4 -t nfs <server-ip>:/data /test/). Server: docker run --privileged --name nfs -v /home/user/sdata/nfs/config/export.txt:/etc/exports:ro -v /lib/modules:/lib/modules:ro -v /data:/data -p 2049:2049 pedroetb/nfs-server:arm-v2.2.1

https://github.com/siaimes/nfs-server-alpine/tree/arm repo worked without issue (image itsthenetwork/nfs-server-alpine). Server: docker run -d -p 2049:2049 --name nfs --privileged -v /data:/nfsshare -e SHARED_DIRECTORY=/nfsshare itsthenetwork/nfs-server-alpine:11-arm Compared the exports file, ports, and permissions, all are identical. Not sure what the issue is.

Edited by Pramit Biswas