Saya dapat melihat bagian server:
[root@sandbox /]# showmount -e 192.168.0.111
Export list for 192.168.0.111:
/RAIDPOOL02/vers *
/RAIDPOOL02/prod *
/RAIDPOOL02/pipeline *
Ketika saya mencoba untuk memasang, saya mendapatkan ini:
[root@sandbox /]# mkdir -p /192.168.0.111/pipeline
[root@sandbox /]# mount --verbose --options=nolock,exec,soft,intr,uid=500,rsize=65536,wsize=65536 192.168.0.111:/pipeline /192.168.0.111/pipeline
mount.nfs: timeout set for Wed May 4 08:16:49 2016
mount.nfs: trying text-based options 'nolock,soft,intr,uid=500,rsize=65536,wsize=65536,vers=4,addr=192.168.0.111,clientaddr=172.20.0.3'
mount.nfs: mount(2): Operation not permitted
mount.nfs: trying text-based options 'nolock,soft,intr,uid=500,rsize=65536,wsize=65536,addr=192.168.0.111'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.0.111 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.0.111 prog 100005 vers 3 prot UDP port 20048
mount.nfs: mount(2): Operation not permitted
mount.nfs: Operation not permitted
Saya mengekspos port ini di Dockerfile saya:
EXPOSE 2049
EXPOSE 20048
Dan saya bisa berhasil nmap port 2049 dari server:
[root@sandbox /]# nmap -p 2049 192.168.0.111
Starting Nmap 6.40 ( http://nmap.org ) at 2016-05-04 08:21 UTC
Nmap scan report for 192.168.0.111
Host is up (0.00061s latency).
PORT STATE SERVICE
2049/tcp open nfs
Mengapa saya mendapatkan "Operasi tidak diizinkan"?