Skip to content

Instantly share code, notes, and snippets.

@arhea
Created January 11, 2017 18:38
Embed
What would you like to do?
Install and Configure RexRay with Docker
#!/bin/bash
curl -sSL https://dl.bintray.com/emccode/rexray/install | sh
cat > /etc/rexray/config.yml <<'EOF'
rexray:
modules:
default-docker:
disabled: true
efs-docker:
type: docker
host: unix:///run/docker/plugins/efs.sock
spec: /etc/docker/plugins/efs.spec
libstorage:
service: efs
ebs-docker:
type: docker
host: unix:///run/docker/plugins/ebs.sock
spec: /etc/docker/plugins/ebs.spec
libstorage:
service: ebs
libstorage:
server:
services:
ebs:
driver: ebs
efs:
driver: efs
EOF
rexray service start
systemctl daemon-reload && systemctl enable rexray && systemctl restart rexray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment