Public Repository

Last pushed: 9 days ago
Short Description
Docker volume plugin for AWS EBS by REX-Ray, a container storage orchestration engine
Full Description

EBS Docker Volume Plug-in

For the most recent documentation on this plug-in, please see the official documentation.

Installation

The EBS plug-in can be installed with the following command:

$ docker plugin install rexray/ebs \
  EBS_ACCESSKEY=abc \
  EBS_SECRETKEY=123

Privileges

The EBS plug-in requires the following privileges:

Type Value
network host
mount /dev
allow-all-devices true
capabilities CAP_SYS_ADMIN

Configuration

The following environment variables can be used to configure the EBS
plug-in:

Environment Variable Description Default Required
EBS_ACCESSKEY The AWS access key ✓ unless IAM
EBS_SECRETKEY The AWS secret key ✓ unless IAM
EBS_REGION The AWS region us-east-1
Docker Pull Command
Owner
rexray

Comments (4)
clintonskitson
12 days ago

If you are using with Amazon's Linux distro then see this issue where a cgroup is used to launch Docker causing this exact issue.

https://github.com/codedellemc/rexray/issues/510

clintonskitson
12 days ago

Please open issues at https://github.com/codedellemc/rexray/issues

The "Unable to connect to plugin" is likely caused due to the Docker daemon itself being run from inside of a runc container. This container needs access to the /run/docker/plugins directory to be able to communicate with any plugins that are running. It is likely if you are getting this error and RR is reported as enabled, no plugins will work.

plrunner
a month ago

The plugins is reported to be enabled and the file /run/docker/plugins/6e58aad7c78162a1def4ef1b564255de00743bbfccfd47450c9c280abef0ff7e/rexray.sock is in place though.

plrunner
a month ago

This plugin is broken on Ubuntu 16.04 and docker 17.03.1-ce. In log file I found this: Unable to connect to plugin: /run/docker/plugins/6e58aad7c78162a1def4ef1b564255de00743bbfccfd47450c9c280abef0ff7e/rexray.sock/VolumeDriver.Create: Post http://%2Frun%2Fdocker%2Fplugins%2F6e58aad7c78162a1def4ef1b564255de00743bbfccfd47450c9c280abef0ff7e%2Frexray.sock/VolumeDriver.Create: dial unix /run/docker/plugins/6e58aad7c78162a1def4ef1b564255de00743bbfccfd47450c9c280abef0ff7e/rexray.sock: connect: no such file or directory, retrying in 2s"