katharostech / docker-plugin_lizardfs

Docker volume plugin for mounting LizardFS
Other
19 stars 2 forks source link

Build from image #1

Closed htbase closed 5 years ago

htbase commented 6 years ago

Hi there

Thanks for all the work

Wondering if there is any info or documentation already on how to create the plugin from source

Thanks Bruno

zicklag commented 6 years ago

Hi @htbase, I have instructions on how to build in in the README. That tells you how to build the plugin as a Docker managed plugin.

If you want to build the normal container that is used for the swarm deployment then you just have to run a docker build -t container-tag . in the project root.

Just a heads up, I am planning on greatly refactoring the swarm deployment hopefully sometime in the near future if I can get to it. :) When I do that, the plugin will be installed the on a swarm with a Docker managed plugin like it is for a single node.

htbase commented 6 years ago

Thanks!

We can build the plugin and use it

Only “weird” behaviour is that when we do a mount using the volume name created by the plugin (docker run -it --rm -v dockervol1:/mnt/data ubuntu), it mounts the whole storage root directory instead of only the folder created for the volume

zicklag commented 6 years ago

Did you happen to specify the ROOT_VOLUME_NAME when you installed the plugin. I always use that option so I may have missed bugs that occur when you don't specify it.

zicklag commented 5 years ago

Closing this now. You can open a new issue if you still have problems with it.