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

Docker volume plugin not working #18

Open
rajivece opened this issue Mar 24, 2017 · 1 comment
Open

Docker volume plugin not working #18

rajivece opened this issue Mar 24, 2017 · 1 comment

Comments

@rajivece
Copy link

I'm trying to setup Docker Volume plugin by following the guide https://infinit.sh/documentation/docker/volume-plugin

Here's the commands I have used
docker run -it --rm --volume-driver infinit -v rajivr/my-volume:/mnt ubuntu:trusty /bin/bash

Docker volume looks fine

 docker volume ls
DRIVER              VOLUME NAME
infinit             rajivr/my-volume

But the deprecated command infinit-volume is getting executed from docker

 ps -ef | grep volume
root     17467 17461  0 10:14 ?        00:00:13 /opt/infinit/bin/infinit-volume --run rajivr/my-volume --as rajivr --fuse-option allow_root --push --mountpoint /run/user/0/infinit/filesystem/mnt/rajivr_my-volume-f764-79e5-43d1-a83c

Any fix for this issue?

@Dimrok
Copy link

Dimrok commented Apr 4, 2017

Hi @rajivece.

Even if infinit-volume is marked as deprecated, infinit-volume --run is translated to infinit volume run. Depending on where you got the 0.7.3 from, infinit-<mode> binaries can be broken (because of a symbolic link issue on our build chain).

@akimd's solution is the simplest to fix it:

cd /opt/infinit/bin
for i in infinit-*; do sudo ln -sf infinit $i; done

It will still show the deprecation warning but the right binary should be executed. I'll also make sure infinit deamon invokes the new binary but you'll have to wait until the next release to see the warning disappear.

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