Missing plugin
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?
Same / similar problem here... Looks like the plugin isn't added after starting it?
@auhlig @gondor are you still maintaining this software or it's abandoned?
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:
-
Enable the plugin:
sudo systemctl enable docker-volume-netshare -
Activate NFS driver:
sudo nano /etc/default/docker-volume-netshareAdd / Uncomment:DKV_NETSHARE_OPTS="nfs" -
Create a systemd service to start the nfs driver:
sudo nano /lib/systemd/system/docker-volume-netshare-nfs.serviceService 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
- 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.