New issue
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
Trouble with CIFS Mount #143
Comments
SolutionGet a more recent version of
|
HIi @jamiejackson , i tried to do the same but i am getting this error. |
@ramizrshaik, I'm not sure what step you're on. First, what OS/version and Docker version are you running? Next: Please run the following--verbatim for now--don't change any of the values to your own. First terminal: sudo pkill -f docker-volume-netshare # kill any extant processes
cd /tmp
wget -O docker-volume-netshare https://github.com/ContainX/docker-volume-netshare/releases/download/v0.34/docker-volume-netshare_0.34_linux_amd64-bin
chmod a+x ./docker-volume-netshare
sudo ./docker-volume-netshare cifs --verbose=true Second terminal: docker volume create \
-d cifs \
--name mediashare \
--opt share=localhost/private \
--opt username=user1 \
--opt password=user1pass \
--opt security=ntlm \
--opt cifsopts=vers=3.0
docker run -it --rm -v mediashare:/tmp/mediashare -d --name samba-client alpine ash Then paste in the contents of your terminals. |
@jamiejackson: I run into the same problem! Here is my log:
docker-volume-netshare: Version: 0.35 - Built: 2018-01-27T22:43:03-08:00 Edit: I solved the problem by removing the "cifsopts=vers=3.0" option |
I struggled all day yesterday with this. Could you help me come up with a
docker volume create
command that satisfies the following requirements?Requirements
cifs
user1
user1pass
localhost
private
mediashare
Equivalent Plain Mount
For what it's worth, here's the equivalent mount command (note the
vers=3.0
option--that was necessary):Failed Attempt
One of a hundred failed attempts:
Commands
nohup /mybin/docker-volume-netshare cifs --verbose=true & docker volume create -d cifs \ --name mediashare \ --opt share=localhost/private \ --opt username=user1 \ --opt password=user1pass docker run -it --rm -v mediashare:/tmp/mediashare -d --name samba-client alpine ash
Output from
docker run
Debug output
Software Versions
Version: 0.18 - Built: 2016-05-27T20:14:07-07:00
Docker version 17.10.0-ce, build f4ffd25
Note to self: Samba server was created with:
The text was updated successfully, but these errors were encountered: