Is it possible to perform an nfs or cifs mount within a container and access the mounted filesystem from the host and/or other containers?
In my testing with 1.7.0 and 1.8.0-dev the mount within the container is not reflected in the /var/lib/docker/volumes filesystem. For test purposes the host os is Ubuntu 15.04, the guest os is Ubuntu 14.04, selinux is not installed and apparmor is disabled.
Ultimately I am hoping to use the nfs volume-plugin to allow mounting of external nfs volumes in a container using the --volume-drive=nfs and -v nfs-share:mount format. This works fine if the plugin app is running on the host and thus the nfs mounts happen on the host, but does not work when the plugin app is running in a container. The mount is visible in the container and the path is created in /var/lib/docker/volumes, but the share contents are not visible.
I am actually using your plugin right now, so many thanks for taking the time to put it together! Do you know if it is or will be possible to expose mounts made within Containers to the host and/or other Containers via normal docker Volumes?