REX-Ray是一个EMC{code}团队领导的开源项目,为Docker、Mesos及其他容器运行环境提供持续的存储访问。其设计旨在囊括通用存储、虚拟化和云平台,提供高级的存储功能。
当前支持的系统:
Ubuntu
Debian
RedHat
CentOS
CoreOS
OSX
运行时CLI:
$ export REXRAY_STORAGEDRIVERS=ec2$ export AWS_ACCESSKEY=access_key$ export AWS_SECRETKEY=secret_key$ rexray volume get- providername: ec2 instanceid: i-695bb6ab volumeid: vol-dedbadc3 devicename: /dev/sda1 region: us-west-1 status: attached运行时服务(Docker)
$ export REXRAY_STORAGEDRIVERS=ec2$ export AWS_ACCESSKEY=access_key$ export AWS_SECRETKEY=secret_key$ rexray service startStarting REX-Ray...SUCESS! The REX-Ray daemon is now running at PID XX. To shutdown the daemon execute the following command: sudo /usr/bin/rexray stop$ docker run -ti --volume-driver=rexray -v test:/test busybox$ df /test
评论