docker-nfs-client
docker-nfs-client copied to clipboard
client fails with "access denied by server"
to reproduce (randomly using /etc as a folder to export)
docker run -d --name nfs cpuguy83/nfs-server /etc
docker run -d --name nfs-client --link nfs:nfs cpuguy83/nfs-client /etc:/etc2
docker logs nfs-client
mount.nfs: access denied by server while mounting 172.17.0.212:/etc
@hjwp you should use "--privileged" option when start nfs-client container
docker run -d --name nfs-client --link nfs:nfs --privileged cpuguy83/nfs-client /etc:/etc2
I am getting the same error when trying to mount from the host system. It works when I use the IP of docker0 (172.17.0.2) but not when I use my public IP.