Docker volume plugin for GlusterFS with HA support and automatic failover
389
Managed Docker volume plugin for GlusterFS. No GlusterFS client installation required on the host.
docker plugin install antoniospatera/glusterfs:latest
Or with defaults:
docker plugin install antoniospatera/glusterfs:latest \
SERVERS=srv1,srv2,srv3 \
VOLNAME=gv0
Create volume
docker volume create -d glusterfs \
-o servers=srv1,srv2,srv3 \
-o volname=gv0 \
testvol
Use volume
docker run -v testvol:/data busybox ls /data
Options
┌─────────┬─────────────────────────────────────┐
│ Option │ Description │
├─────────┼─────────────────────────────────────┤
│ servers │ GlusterFS servers (comma-separated) │
├─────────┼─────────────────────────────────────┤
│ volname │ GlusterFS volume name │
├─────────┼─────────────────────────────────────┤
│ subdir │ Subdirectory (default: volume name) │
└─────────┴─────────────────────────────────────┘
High Availability
docker volume create -d glusterfs \
-o servers=srv1 \
-o volname=gv0 \
-o backup-volfile-servers=srv2:srv3 \
testvol
If this plugin is useful to you, consider giving it a ⭐ on GitHub or reporting issues and suggestions.
GitHub: https://github.com/antoniospatera/docker-volume-glusterfs
Content type
Plugin
Digest
sha256:22d9676f3…
Size
70.8 MB
Last updated
8 months ago
docker plugin install antoniospatera/glusterfs