We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am trying to get netshare to work on docker 1.11.1 on ubuntu 14.04.4. I have tried https://github.com/gondor/docker-volume-netshare/issues/30 and https://github.com/gondor/docker-volume-netshare/issues/21#issuecomment-206388228.
$ sudo docker-volume-netshare cifs -u uuu -p ppp --verbose=true WARN[0000] Error: open /home/admin/.netrc: no such file or directory INFO[0000] == docker-volume-netshare :: Version: 0.16 - Built: 2016-04-09T14:53:25-07:00 == INFO[0000] Starting CIFS :: user: uuu, pass: ***, domain: , secutity: , netrc: /home/admin
$ sudo docker volume create -d cifs --name my.server.com/sharename $ sudo docker run -it -v my.server.com/sharename:/mnt --rm ubuntu /bin/bash docker: Error response from daemon: chown /var/lib/docker-volumes/my.server.com/sharename: permission denied. See 'docker run --help'.
while, on the plugin side, this was added
INFO[0049] Mount: my.server.com/sharename, map[] INFO[0049] Mounting CIFS volume //my.server.com/sharename on /var/lib/docker-volumes/netshare/cifs/my.server.com/sharename DEBU[0049] GetCreds: host=my.server.com, netrc=<nil> DEBU[0049] Executing: mount -t cifs -o username=uuu,password=****,rw //my.server.com/sharename /var/lib/docker-volumes/netshare/cifs/my.server.com/sharename INFO[0049] Unmounting volume //my.server.com/sharename from /var/lib/docker/volumes/netshare/cifs/my.server.com/sharename INFO[0049] Removing un-managed volume
Any hints?
The text was updated successfully, but these errors were encountered:
Have you tried simulating the execution the plugin is doing by mounting it manually?
ex:
$ mount -t cifs -o username=uuu,password=****,rw //my.server.com/sharename /local/path
Sorry, something went wrong.
Yes. Mounting manually in the host worked fine.
@joaocc Please see my added 30#comment.
AFAICT a possible docker bug in connection with cifs server configuration.
No branches or pull requests
Hi,
I am trying to get netshare to work on docker 1.11.1 on ubuntu 14.04.4.
I have tried https://github.com/gondor/docker-volume-netshare/issues/30 and https://github.com/gondor/docker-volume-netshare/issues/21#issuecomment-206388228.
1. With credentials provided at plugin start
while, on the plugin side, this was added
Any hints?
The text was updated successfully, but these errors were encountered: