marcelo-ochoa / docker-volume-plugins

Managed docker volume plugins
Eclipse Public License 2.0
87 stars 17 forks source link

Can't enable the plugin in ARM (Raspberry) #5

Open setovi opened 3 years ago

setovi commented 3 years ago

Describe the bug When enabling the plugin in a Raspberry Pi (4),

root@rpi4:~# docker plugin enable glusterfs Error response from daemon: dial unix /run/docker/plugins/4963ba381884b7af616e4340f57e44e296671b3b23cd061d4c1431b7f4d0f126/gfs.sock: connect: no such file or directory

To Reproduce Steps to reproduce the behavior:

  1. docker plugin install --alias glusterfs mochoa/glusterfs-volume-plugin --grant-all-permissions --disable
  2. docker plugin set glusterfs SERVERS=x,y
  3. docker plugin enable glusterfs

Server (please complete the following information):

Additional context It's reported on: https://github.com/trajano/docker-volume-plugins/issues/11

TY in advance

nerdily commented 3 years ago

+1. Same issue, same hardware, same OS.

trueppp commented 3 years ago

+1. Same issue, same hardware, same OS

frankrosano commented 3 years ago

I was hitting the same issue but was able to resolve it by specifying the architecture in the image name. It looks like the default install command just pointing to cifs-volume-plugin for example pulls the x86-64 image regardless of platform you are on.

By appending "-aarch64" to the image name it pulls the arm64 variant and enables without issue.

Example: docker plugin install mochoa/cifs-volume-plugin-aarch64 --grant-all-permissions

yodog commented 2 years ago

same problem here.

root@pi3modelb:~# uname -a

Linux pi3modelb 5.10.63-v7+ #1488 SMP Thu Nov 18 16:14:44 GMT 2021 armv7l GNU/Linux

edit: i just installed version mochoa/glusterfs-volume-plugin-armv7l and the error is gone.

johny-mnemonic commented 2 years ago

Same here. Either docker itself can't select proper plugin for current architecture or something is wrong.

Would be nice to mention it in the readme @marcelo-ochoa ;-)