docker-volume-netshare
docker-volume-netshare copied to clipboard
NFS volumes gone after reboot
please reopen #33
Looking at the docker volume plugin documentation, it seems that persisting information about created volumes must be done in the driver itself.
What docker volume ls
does is to call the volume drivers' GetList function.
The VolumeManager (mounts.go) currently does not persist any of its metadata. This is why the driver does not report any available mounts to docker.
The proposed workaround of calling docker volume create
after every restart cannot be applied if containers are set up with a restart policy.
I have started working on a PR. This might take a bit since I am new to Go, though.
I'm done with a basic prototype: https://github.com/axel-wilczek/docker-volume-netshare/tree/feature/issue-33
Help with testing would be appreciated, especially for other drivers besides nfs.