Skip to content

Instantly share code, notes, and snippets.

@arhea
Created January 11, 2017 18:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arhea/deb0aca5c8ba31658d7eec1a99cf18e8 to your computer and use it in GitHub Desktop.
Save arhea/deb0aca5c8ba31658d7eec1a99cf18e8 to your computer and use it in GitHub Desktop.
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