ContainX / docker-volume-netshare

Docker NFS, AWS EFS, Ceph & Samba/CIFS Volume Plugin
http://netshare.containx.io
Apache License 2.0
1.11k stars 164 forks source link

Do not allow nested mount #184

Open jakirpatel opened 4 years ago

jakirpatel commented 4 years ago

Issue:

Mounting NFS within NFS will break the system. For example if the mount /a/b/c is already mounted and if any user try to mount /a this should not break the system.

Either docker-volume-netshare should check the location and handle it carefully.