Skip to content

Commit b6718d6

Browse files
authored
Create README.md
1 parent 25806a8 commit b6718d6

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

intermediate/swarm/rexray/README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Setting up Persistent Storage for Docker Swarm using Rexray on Google CLoud Platform
2+
3+
## Pre-requisite
4+
5+
- Google Cloud Platform
6+
- 3-Node Docker Swarm Cluster(1 Manager + 2 Worker Nodes)
7+
- Enable Full Access to All Cloud API
8+
9+
## Ensure that you have 3-Node Docker Swarm Cluster
10+
11+
```
12+
docker node ls
13+
```
14+
15+
## Ensure that Docker Compose is installed on the Manager Node
16+
17+
## Setting up Visualizer Tool
18+
19+
```
20+
git clone https://github.com/collabnix/dockerlabs
21+
cd dockerlabs/solution/viz
22+
docker-compose up -d
23+
```
24+
25+
Access Visualizer tool via http://<IP>:8080
26+
27+
## Installing RexRay Plugin
28+
29+
```
30+
sudo docker plugin install --grant-all-permissions rexray/gcepd GCEPD_TAG=rexray
31+
32+
dockercaptain1981@node1:~/dockerlabs/solution/viz$ sudo docker plugin install --grant-all-permissions rexray/gcepd GCEPD_TAG=rexray
33+
latest: Pulling from rexray/gcepd
34+
fa408a4c04c6: Download complete
35+
Digest: sha256:d3f6a92d013abb9a66ec7d7d786bd66ce7b5f04c7ceeb2dac700b370582a
36+
2a2f
37+
Status: Downloaded newer image for rexray/gcepd:latest
38+
Installed plugin rexray/gcepd
39+
```
40+
41+
# Listing the RexRay Plugin
42+
43+
44+
```
45+
$ sudo docker plugin ls
46+
ID NAME DESCRIPTION
47+
ENABLED
48+
9d636b335dd0 rexray/gcepd:latest REX-Ray for GCE Persistent Disks
49+
true
50+
dockercaptain1981@node1:~/dockerlabs/solution/viz$
51+
```
52+

0 commit comments

Comments
 (0)