docker-volume-glusterfs

command module
v0.0.0-...-a670690 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2017 License: MIT Imports: 10 Imported by: 0

README

Docker volume plugin for GlusterFS

This is quite fresh so use at your own risk

This plugin uses GlusterFS as distributed data storage for containers.

TravisCI

Installation

Using go (until we get proper binaries):

$ go get github.com/Paxxi/docker-volume-glusterfs

Usage

This plugin doesn't create volumes in your GlusterFS cluster and it's currently restricted to a single volume as that's the current need I have

1 - Start the plugin using this command:

$ sudo docker-volume-glusterfs -gfs-base /mnt/gfs -root your-volume-name -server server1:server2:server3

We use the flag -servers to specify where to find the GlusterFS servers. The server names are separated by colon.

2 - Start your docker containers with the option --volume-driver=glusterfs and use the first part of --volume to specify the remote volume that you want to connect to:

$ sudo docker run --volume-driver glusterfs --volume datastore:/data alpine touch /data/helo

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL