vieux / docker-volume-sshfs

sshfs docker volume plugin
MIT License
592 stars 104 forks source link

Error response from daemon: dial unix /run/docker/plugins/<random-uuid>/sshfs.sock: connect: no such file or directory #69

Closed mike391 closed 5 years ago

mike391 commented 5 years ago

Im running an x64 Debian system and tried to install the plugin both from source and from :latest.

Upon installing/enabling I get this error:

Error response from daemon: dial unix /run/docker/plugins/<random-uuid>/sshfs.sock: connect: no such file or directory

Ive tried creating the directory /run/docker/plugins/<random-uuid> but whenever I enable the plugin it deletes that directory and throws an error.

Im also running the plugin in a non-default path like so: docker plugin enable vieux/sshfs:latest state.source=/srv/dev-disk-by-label-RAID/Docker/Data/plugins

Not sure how to go from here... Any suggestions?

mike391 commented 5 years ago

Just in case anyone else runs into this, I solved it. After seeing permission denied in docker.log I started looking at permissions. Make sure the volume where /var/lib/docker resides is not mounted as noexec. Mounts with noexec somehow allows running containers but not plugins.