-
Notifications
You must be signed in to change notification settings - Fork 103
Unable to use volume provided by vieux/sshfs #21
Comments
@chrsch can you try with Thanks. |
@vieux Yes it is fixed the way @tiborvass modified it. Thanks. |
I'm getting the error even if I use
[ Commands I used:
|
@Abhisek- hi, I just removed the next tag, it's quite old, do you have the same error with |
@vieux hi, for Commands I've executed:
For the above I'm getting
But If I execute without using the volume and run
I've also tried
but no luck till now |
If I do
Any idea ? |
Goal: Assign sshfs based volume to a docker container.
Note 1: sshfs is accessible as tested with other sftp client
Note 2: The problem is related to the password: If it contains specific chars e. g. } )
Step 1: Install plugin
docker plugin install vieux/sshfs
Step 2: Create volume
docker volume create -d vieux/sshfs --name sshfs -o sshcmd=user-id@sftp.somehost.com:/some/path/ -o password=xxx
Step 3: Check if volume is mounted and can be used
docker run --rm -v sshfs:/data busybox ls /data
Expected result:
List of directories and files from '/some/path/'
Received result:
Additional infos:
docker version
Client:
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: c6d412e
Built: Tue Mar 28 00:40:02 2017
OS/Arch: darwin/amd64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 21:43:09 2017
OS/Arch: linux/amd64
Experimental: true
docker plugin inspect vieux/sshfs:latest
The text was updated successfully, but these errors were encountered: