What Is Docker REX - RAY Plugin ?
Last Updated :
23 Jul, 2025
The Docker REX- RAY plugin is mainly used to attach the external volumes to our containers which are running in the containerization platforms. REX-RAY is a plugin that is written in the go-language it will not be available locally you need to download the plugin. REX - RAY plugin provides EBS volumes to the docker containers.
What is the Docker Rexray Plugin?
Docker REX-RAY is a storage orchestration engine that is used to provide persistent storage for containerized workloads to the docker containers and any other containerization platform like Kubernetes, open shift docker-compose, etc. Docker REX - RAY plugin can be used to attach the volumes to a container in cloud platforms like AWS.
Installation and Configuration Of Rexray Plugin In Docker
Follow the steps mentioned below to install the docker REX- RAY plugin.
Step 1: Connect to the terminal and make sure that docker is installed by using the following command.
docker version
.webp)
Step 2: To install the docker rex ray plugin execute the following commands.
$ docker plugin install rexray/ebs \
EBS_ACCESSKEY=abc \
EBS_SECRETKEY=123
In the place of EBS_ACCESSKEY and EBS_SECRETKEY give your own AWS keys. After that install the rex ray plugin as show in the image below.
.webp)
Step 3: Check the docker rex ray plugin was installed as shown in the image below. Use the command mentioned below.
docker plugin ls
.webp)
Steps To Create EBS Volume Uisng REX-RAY Plugin In Docker
Follow the steps mentioned below to create ebs volume
Step 1: Use the following command to create ebs volume using rex ray plugin.
docker volume create -d rexray/ebs mongobdbsvolumenew
- rexray/ebs : Name of the Driver.
- mongobdbsvolumenew: Name of the volume to create.
As shown in the image below the volume will be created.
.webp)
Step 3: Go to the AWS Console and check the volume was created or not as show in the image below.
.webp)
Supported Storage Backends by Rex-Ray Plugin
Docker rex ray is the plugin which will acts as an plugin framework for the storage providers to integrate the container orchestration like docker and kubernetes. Following the storage supported by the rex ray plugin.
And there are many more storage back ends supported by the REX-RAY plugin.
Use Cases and Benefits of Docker Rex-Ray Plugin
Following are the use cases of docker REX-RAY plugin.
- Persistent Storage: Docker REX-RAY plugin can be used to attach the Persistent Storage to the containerised application. Persistent storage will helps to reatin the data even when the container is terminated or restarted.
- Data Protection: REX-RAY plugin will performs automated backups, snapshots and also it replicates the data across the refions in the clouds. So there will be high data protection.
- Storage Scaling: REX-RAY plugin will helps us to scale the storage up and down based on the incoming data. By which there you accomidate more data according to the needs.
- Storage Flexibility: The volume which is created using REX-RAY plugin can attached to the different containers by depending up on the needs. If you want to the copy the files of two different container you do that using the volume created by the REX-RAY plugin.
Steps To Install REX-RAY Plugin in Kubernetes
Follow the steps mentioned below to isntall the REX-RAY Plugin in Kubernetes.
Step 1: Make sure that docker is installed in the kubernetes nodes. You can use the following command to check the docker installed or not.
docker version
Step 2: Create the yaml file for the demoset to deploy the REX-RAY plugin to make sure that the rex-ray plugin is runnin on the eaxh node for that you can use the following yaml file.
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: rexray
namespace: kube-system
labels:
app: rexray
spec:
selector:
matchLabels:
name: rexray
template:
metadata:
labels:
name: rexray
spec:
containers:
- name: rexray
image: rexray/rexray:latest
securityContext:
privileged: true
volumeMounts:
- name: lib-modules
mountPath: /lib/modules
readOnly: true
volumes:
- name: lib-modules
hostPath:
path: /lib/modules
Apply the yaml file by using the following command. '
kubectl apply -f rexray-daemonset.yaml
Docker Installation
People Also Ask
|
---|
How to Install Docker in Windows
| Read
|
How to Install Docker in MacOs
| Read
|
What Is Docker HUB
| Read
|
Similar Reads
DevOps Tutorial DevOps is a combination of two words: "Development" and "Operations." Itâs a modern approach where software developers and software operations teams work together throughout the entire software life cycle.The goals of DevOps are:Faster and continuous software releases.Reduces manual errors through a
7 min read
Introduction
What is DevOps ?DevOps is a modern way of working in software development in which the development team (who writes the code and builds the software) and the operations team (which sets up, runs, and manages the software) work together as a single team.Before DevOps, the development and operations teams worked sepa
10 min read
DevOps LifecycleThe DevOps lifecycle is a structured approach that integrates development (Dev) and operations (Ops) teams to streamline software delivery. It focuses on collaboration, automation, and continuous feedback across key phases planning, coding, building, testing, releasing, deploying, operating, and mon
10 min read
The Evolution of DevOps - 3 Major Trends for FutureDevOps is a software engineering culture and practice that aims to unify software development and operations. It is an approach to software development that emphasizes collaboration, communication, and integration between software developers and IT operations. DevOps has come a long way since its in
7 min read
Version Control
Continuous Integration (CI) & Continuous Deployment (CD)
Containerization
Orchestration
Infrastructure as Code (IaC)
Monitoring and Logging
Microsoft Teams vs Slack Both Microsoft Teams and Slack are the communication channels used by organizations to communicate with their employees. Microsoft Teams was developed in 2017 whereas Slack was created in 2013. Microsoft Teams is mainly used in large organizations and is integrated with Office 365 enhancing the feat
4 min read
Security in DevOps