Skip to content
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

Missing plugin #160

Open
ssirag opened this issue Apr 19, 2018 · 3 comments
Open

Missing plugin #160

ssirag opened this issue Apr 19, 2018 · 3 comments

Comments

@ssirag
Copy link

ssirag commented Apr 19, 2018

I have installed the .deb on my Ubuntu 16.04 docker swarm server. However, the install instructions don't mention registering the plugin with Docker.

When I try to run a test service, Docker complains "no suitable node (missing plugin)".

My yml:

version: '3.6'

volumes:
data:
driver: nfs
driver_opts:
share: 10.0.10.8:/gvol1

services:
hello:
image: alpine
volumes:
- data:/mnt
command: ls /mnt

What is the correct "docker plugin install" step?

@pwFoo
Copy link

pwFoo commented Aug 17, 2018

Same / similar problem here...
Looks like the plugin isn't added after starting it?

@holms
Copy link

holms commented Aug 23, 2018

@auhlig @gondor are you still maintaining this software or it's abandoned?

@mietzen
Copy link

mietzen commented Dec 25, 2019

Same / similar problem here...
Looks like the plugin isn't added after starting it?

Hi, I had the same problem, my solution was the following:

  1. Enable the plugin:
    sudo systemctl enable docker-volume-netshare

  2. Activate NFS driver:
    sudo nano /etc/default/docker-volume-netshare
    Add / Uncomment:
    DKV_NETSHARE_OPTS="nfs"

  3. Create a systemd service to start the nfs driver:
    sudo nano /lib/systemd/system/docker-volume-netshare-nfs.service
    Service description:

[Unit]
Description=Start NFS Docker driver.
After=docker.service docker.socket docker-volume-netshare.service

[Service]
Type=simple
ExecStart=/usr/bin/docker-volume-netshare nfs

[Install]
WantedBy=multi-user.target
  1. Enable the service:
    sudo systemctl enable docker-volume-netshare-nfs

I'm still wondering if this is expected behavior, I would've thought enabling the plugin and uncommenting DKV_NETSHARE_OPTS would do the job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants