rexray / dvdcli

A tool for exposing native Docker Volume Driver functionality through a CLI
Apache License 2.0
33 stars 14 forks source link

Does dvdcli work with docker managed plugins ... #36

Open taherv opened 7 years ago

taherv commented 7 years ago

I thought I would ask before I tried this ... If I have a docker plugin on Docker >1.13 (installed via "docker plugin install ...."), would dvdcli work with this plugin ?

Thanks

clintkitson commented 7 years ago

@taherv dvdcli is built from Docker packages prior to the managed plugin implementation. This means there are certain portions that are misaligned and would not work right out of the gate. The expectation with unmanaged plugins is that they would have sock's listed under /run/docker/plugins. With managed plugins, these files are listed further down this structure and labeled from the runc container to which they are running from.

I believe it would be possible to make this work if you did a ln to the /run/docker/plugins directory to ensure a plugin's sock is listed there that links to the runc socket.

taherv commented 7 years ago

Thanks @clintkitson, I'll post an update with my results ....