Sign inSign up

basi/rexray

By basi

Updated about 10 years ago

This image starts a RexRay service in the host. Now it just supports EC2 volumes (EBS).

Image
0

1.7K

basi/rexray repository overview

Deprecated

Use these plugins instead: https://rexray.readthedocs.io/en/stable/user-guide/docker-plugins/

Softonic Rexray for EC2

This image starts a RexRay service in the host. Now it just supports EC2 volumes (EBS). You need to pass your EC2 credentials when launching the container as environment variables.

Container execution

For run this container you need to mount some sockets needed for service to run.

docker run \
  --rm -it \
  -e AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY \
  -e AWS_SECRET_ACCESS_KEY=YOUR_SECRET_KEY \
  -v /run/docker/plugins:/run/docker/plugins \
  -v /var/lib/rexray:/var/lib/rexray:shared \
  -v /var/run/rexray:/var/run/rexray \
  -v /var/log/rexray:/var/log/rexray \
  -v /dev:/dev \
  basi/rexray

In case you have a Swarm cluster you can run it as a global service:

docker service create \
  --name rexray \
  --mode global \
  -e AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY \
  -e AWS_SECRET_ACCESS_KEY=YOUR_SECRET_KEY \
  --mount type=bind,src=/run/docker/plugins,dst=/run/docker/plugins \
  --mount type=bind,src=/var/lib/rexray,dst=/var/lib/rexray \
  --mount type=bind,src=/dev,dst=/dev \
  basi/rexray

NOTE: You need a mount helper to allow you this make to work, or a patched version of docker. By default docker swarm does not allow privileged services, and for mounting this you need those permissions.

Tag summary

Content type

Image

Digest

Size

77.4 MB

Last updated

about 10 years ago

docker pull basi/rexray