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

Exit status 32 when running as daemon #172

Open 11matt556 opened 5 years ago

11matt556 commented 5 years ago

If I run docker-volume-netshare cifs 1.39 as a service and then run docker run -it --volume-driver=cifs -v 192.168.10.30/HDD-Pool:/mount ubuntu /bin/bash I get Error response from daemon: error while mounting volume '': VolumeDriver.Mount: exit status 32. which I suspect is an auth/permissions denied error.

However, when running the netshare command from the terminal I have no issues mounting the share.

This issue may be related to issue #78 but I I'm not sure because I was unable to test the workaround due to the init.d script overwriting my changes and I don't know to edit the script to set the working directory. I do suspect netrc is involved in some way but I'm not sure exactly what's broken.

Thanks, Matt