docker-volume-netshare
docker-volume-netshare copied to clipboard
Error response from daemon: Error looking up volume plugin nfs: Plugin not found
Ubuntu 14.04.4 LTS dockker: 1.9.1 docker-volume-netshare_0.33_amd64.deb
docker run -it --volume-driver=nfs -v 192.168.33.11/opt/nfs:/mnt ubuntu /bin/bash Error response from daemon: Error looking up volume plugin nfs: Plugin not found
Fedora Atomic docker version: 1.12.6 docker-volume-netshare_0.33_linux_amd64
docker volume create -d nfs --name nfstest -o share=172.17.0.12:/data
same type of error: Error response from daemon: create nfstest: create nfstest: Error looking up volume plugin nfs: plugin not found
Have to create a /etc/docker/plugins/nfs.spec, and echo "unix:///var/run/docker/plugins/.sock" in the file (the name of the socket is not that good :x). Without it, you will have a "plugin not found" for ever.
echo "unix:///var/run/docker/plugins/.sock" -> /etc/docker/plugins/nfs.spec Not sure it was clear. Restart docker daemon and try again?
May have to set option --basedir and --version to make it work too.. here is the full command i did use after creating the nfs.spec and restart daemon : sudo docker-volume-netshare nfs --basedir /var/lib/docker/volumes/netshare --version 3 &
Works now.