docker-volume-netshare icon indicating copy to clipboard operation
docker-volume-netshare copied to clipboard

Missing plugin

Open ssirag opened this issue 7 years ago • 3 comments

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?

ssirag avatar Apr 19 '18 18:04 ssirag

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

pwFoo avatar Aug 17 '18 07:08 pwFoo

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

holms avatar Aug 23 '18 21:08 holms

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.

mietzen avatar Dec 25 '19 10:12 mietzen