ehough / docker-nfs-server

A lightweight, robust, flexible, and containerized NFS server.
https://hub.docker.com/r/erichough/nfs-server/
GNU General Public License v3.0
669 stars 221 forks source link

PUTROOTFH Status: NFS4ERR_NOENT #84

Open brandonros opened 4 months ago

brandonros commented 4 months ago

image

$ mount_nfs -o vers=4,tcp,port=2049 nfs-server-192-168-0-105.nip.io:/shared ~/Desktop/nfs
mount_nfs: can't mount /shared from nfs-server-192-168-0-105.nip.io onto /Users/brandon/Desktop/nfs: No such file or directory
nfs-server-0:/# ls -lh
total 64K    
drwxr-xr-x    1 root     root        4.0K Aug 29  2023 bin
drwxr-xr-x   13 root     root        3.1K Mar  1 21:13 dev
drwxr-xr-x    1 root     root        4.0K Mar  1 21:13 etc
drwxr-xr-x    2 root     root        4.0K Aug  7  2023 home
drwxr-xr-x    1 root     root        4.0K Aug 29  2023 lib
drwxr-xr-x    5 root     root        4.0K Aug  7  2023 media
drwxr-xr-x    2 root     root        4.0K Aug  7  2023 mnt
drwxr-xr-x    2 root     root        4.0K Aug  7  2023 opt
dr-xr-xr-x  299 root     root           0 Mar  1 21:13 proc
drwx------    2 root     root        4.0K Aug  7  2023 root
drwxr-xr-x    1 root     root        4.0K Mar  1 21:13 run
drwxr-xr-x    1 root     root        4.0K Aug 29  2023 sbin
drwxrwxrwx    2 root     root        4.0K Mar  1 21:13 shared
drwxr-xr-x    2 root     root        4.0K Aug  7  2023 srv
dr-xr-xr-x   13 root     root           0 Mar  1 21:13 sys
drwxrwxrwt    2 root     root        4.0K Aug  7  2023 tmp
drwxr-xr-x    1 root     root        4.0K Aug 29  2023 usr
drwxr-xr-x    1 root     root        4.0K Aug  7  2023 var
nfs-server-0:/# cat /etc/exports 
/shared *(rw,sync,no_subtree_check,no_root_squash)
nfs-server-0:/# ls -l /shared
total 0

Confused what I am doing wrong