Template repository for Docker container repositories
Because the console in RancherOS runs in a Docker container and the gluster runs in a different container, you can't execute gluster commands from the console. Gluster CLI unfortunately does not support managing a remote cluster (or at least I have not found a way how to do it) and communicates with local glusterd. To make this a bit easier, I have created a bash script which will execute the gluster commands inside of the glusterfs container. You can download the script using the command below.
curl https://raw.githubusercontent.com/homecentr/docker-rancher-gluster/master/gluster.sh --output /usr/sbin/gluster && chmod a+x /usr/sbin/gluster