docker-zfs-plugin
docker-zfs-plugin copied to clipboard
Support: docker plugin install ...
Is it possible to make this plugin docker plugin install'able?
Hi @prologic,
This is actually the first we've heard of docker's 'plugin' sub-command and new managed plugin system, so thank you for bringing it to our attention.
From what I can tell, the plugins that are using the new managed system actually run in a container. That will be a challenge for this plugin as it will require that the (container bound) user-land commands and library versions are in sync with the kernel module version, which likely would vary wildly among users. Perhaps that would be less of an issue if we used a zfs library that uses libzfs and c-go bindings? I'm not sure if the libzfs library is compatible across kernel module versions. Currently the zfs library we use is executing commands through the zfs command line tools.
Another idea would be to bind mount either the zfs commands or libzfs library into the container, but that has the cost of added set up complexity for users.
Do you have any other ideas on how we could make this work?
At some point we will have to look at converting this and all of our plugins to the new system, so eventually we will support it. Hopefully sooner than the legacy system is prevented from working, but I can't guarantee that. We are always open to reviewing submissions from the community if you'd like it to happen sooner.
Thanks,
Travis