Public Repository

Last pushed: 2 years ago
Short Description
GlusterFS setup based on phusion/baseimage
Full Description

This docker installs glusterfs v. 3.7

To run:
docker run -d --privileged --name gluster \
-p 10029:22 -e TERM=$TERM \
-e HOST=$1 \
-p 24007:24007 -p 2049:2049 \
-p 38465:38465 -p 38466:38466 -p 38467:38467 \
-p 49152:49152 -p 49153:49153 -p 49154:49154 \
-p 1110:1110 -p 4045:4045 \
--add-host fe1:1.2.3.4 --add-host fe2:127.0.0.1 \
-v /home/gluster:/export \
ioufinancial/gluster:latest $3

It starts these daemons:

  • sshd
  • cron
  • syslog-ng

And it initializes glusterfs:

echo "Starting glusterfs server"
/etc/init.d/glusterfs-server start

echo "Pairing with peers"
gluster peer probe fe1
gluster peer probe fe2

echo "Creating default volume"
gluster volume create iouvol replica 2 transport tcp fe1:/export/iouvol fe2:/export/iouvol force
gluster volume start iouvol

Docker Pull Command
Owner
ioufinancial

Comments (0)