Rémy Clément-hausman
Rémy Clément-hausman
Had the same problem with cifs, and have to dig into the code. Look in https://github.com/ContainX/docker-volume-netshare/blob/master/netshare/drivers/nfs.go and you may find something. may need to set nfsopts=, instead of classical "-o"
Have to create a /etc/docker/plugins/nfs.spec, and echo "unix:///var/run/docker/plugins/.sock" in the file (the name of the socket is not that good :x). Without it, you will have a "plugin not found"...
echo "unix:///var/run/docker/plugins/.sock" -> /etc/docker/plugins/nfs.spec Not sure it was clear. Restart docker daemon and try again?
May have to set option --basedir and --version to make it work too.. here is the full command i did use after creating the nfs.spec and restart daemon : sudo...
you have to set with cifsopts=