Created
January 11, 2017 18:41
-
-
Save arhea/77ec88e2e36364e7b6ee5d0b93591341 to your computer and use it in GitHub Desktop.
Using RexRay on Amazon Web Services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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