Image based on Centos7 containing a GlusterFS server installed
236
Image based on Centos7 containing a GlusterFS server installed.
The Timezone is set to Madrid.
The default CMD entrypoint will start the server on startup.
The LOG_LEVEL env variable can be used to modify the GlusterFS log level. The PEER_PROBE env variable can be used to specify a secondary GlusterFS server to join a cluster automatically on startup.
------------------ RUN INSTRUCTIONS ----------------
In order to run the image Gluster needs several directories that should be mounted against an external directory: /volumes This one stores teh actual volumes information and should be big! /etc/glusterfs:z This one is used to create the local database with the metadata /var/lib/glusterd:z Stores some persistent information /var/log/glusterfs:z Stores the log information of the created volumes
The next volumes should be mounted directly against the same volume in the base filesystem /sys/fs/cgroup:ro Required for fuse libraries /dev Required to mount volumes
--privileged=true should also be used to made some kernel capabilities available
#Run container example
docker run -d --net=host --privileged=true -v /volumes:/volumes -v /etc/glusterfs:/etc/glusterfs:z -v /var/lib/glusterd:/var/lib/glusterd:z -v /var/log/glusterfs:/var/log/glusterfs:z -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /dev:/dev bbvacib/gluster-server:1.0.0
Content type
Image
Digest
Size
140.4 MB
Last updated
almost 9 years ago
docker pull bbvacib/gluster-server:1.1.0