Sign inSign up

antoniospatera/glusterfs

By antoniospatera

Updated 8 months ago

Docker volume plugin for GlusterFS with HA support and automatic failover

Plugin
Databases & storage
0

389

antoniospatera/glusterfs repository overview

Docker volume plugin for GlusterFS

Managed Docker volume plugin for GlusterFS. No GlusterFS client installation required on the host.

Install

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

Feedback

If this plugin is useful to you, consider giving it a ⭐ on GitHub or reporting issues and suggestions.

Source

GitHub: https://github.com/antoniospatera/docker-volume-glusterfs

Tag summary

Content type

Plugin

Digest

sha256:22d9676f3

Size

70.8 MB

Last updated

8 months ago

docker plugin install antoniospatera/glusterfs