Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume plugin inside docker container? #10

Closed
frimdo opened this issue Jun 8, 2017 · 1 comment
Closed

Volume plugin inside docker container? #10

frimdo opened this issue Jun 8, 2017 · 1 comment

Comments

@frimdo
Copy link

frimdo commented Jun 8, 2017

Is there any way to run volume plugin inside a docker container? I guess that the container would have to be privileged and have docker socket mounted as volume. I tried it, with [infinit],(https://infinit.sh/documentation/docker/volume-plugin) but it didn't work. Did I do something wrong or is it not possible?

If not, It would be killer feature, especially if there would be a possibility to create a service for it to (create the plugin on all nodes of cluster).

And if not, is there a way for volume plugin to communicate over an overlay network?

@cpuguy83
Copy link
Collaborator

cpuguy83 commented Jun 8, 2017

Yes, you can run anything inside a container. Plugins, especially volume plugins, however need special setup for this.

Note that Docker now has a dedicated plugin object, and plugin specific images on dockerhub/docker store that you can use (which ultimately runs a container). Just docker plugin install <plugin img>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants