Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using RexRay on Amazon Web Services
#!/bin/bash
# create example EFS mount point
docker volume create --driver=efs --name=example-efs
# create example EBS disk within this availability zone
docker volume create --driver=ebs --name=example-ebs
# run an example container with EBS mount
docker run -it --rm -v example-ebs:/data --volume-driver=ebs busybox sh
# run an example container with EFS mount
docker run -it --rm -v example-efs:/data --volume-driver=efs busybox sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment