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 #27

Open
frimdo opened this issue Jun 9, 2017 · 2 comments
Open

volume plugin inside docker container #27

frimdo opened this issue Jun 9, 2017 · 2 comments

Comments

@frimdo
Copy link

frimdo commented Jun 9, 2017

Hi - I have a question about running a infinit volume plugin inside docker container. Guys from docker says it should be doable with no problems.

I followed manual, except I ran the daemon in container. So my steps were:

  1. I created a container, which is privileged and connected to docker
docker run -it   --name infinit-volume-plugin  -v /var/run/docker.sock:/var/run/docker.sock   --network infinit-network   --privileged   mefyl/infinit bash
  1. I installed docker inside the container and checked if it was working (docker version)
  2. Logged in with infinit user and pulled volumes and networks-
  3. I ran command from manual infinit daemon run --docker-user root
  4. I did not find infinit volume in docker volume ls

Pretty much the same steps worked on host itself... Any ideas?

Also I found out the new "docker plugin" concept. Is infinit going to create this kind of volume plugin?

@frimdo
Copy link
Author

frimdo commented Jun 11, 2017

Edit: Pretty much the same steps kind of worked. It created the docker volume, but no container can mount it.

[               infinit.filesystem               ] [fuse loop] unexpected exception fetching 0x147e043d00("/"): too few peers are available to reach consensus: 1 of 3

I guess the plugin cannot access the nodes, because they are communicating over an overlay network... (nodes are being ran inside docker containers.)

@Dimrok
Copy link

Dimrok commented Jun 14, 2017

Hi @frimdo.

About those errors, maybe @mefyl or @mnottale can help. They are more familiar with infinit through docker's overlay networks.

About the new docker plugin concept, we will but I can't give any time frame for now.

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

No branches or pull requests

2 participants