Skip to content

Commit d611a12

Browse files
ddebroyMisty Stanley-Jones
authored and
Misty Stanley-Jones
committed
Cloudstor docs (docker#2520)
* Clarify rg-name and rg-region are optional for EE * fix cloudstor documentation to align with the plugin alias that is used
1 parent 783f19f commit d611a12

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

docker-for-aws/persistent-data-volumes.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,16 @@ After creating a swarm on Docker for AWS and connecting to any manager using SSH
1717
```bash
1818
$ docker plugin ls
1919
ID NAME DESCRIPTION ENABLED
20-
f416c95c0dcc docker4x/cloudstor:aws-v{{ edition_version }} cloud storage plugin for Docker true
20+
f416c95c0dcc cloudstor:aws cloud storage plugin for Docker true
2121
```
2222

23-
**Note**: Make note of the plugin tag name, because it will change between versions, and yours may be different then listed here.
24-
2523
The following examples show how to create swarm services that require data persistence using the --mount flag and specifying Cloudstor as the driver.
2624

2725
### Share the same volume between tasks:
2826

2927
```bash
3028
docker service create --replicas 5 --name ping1 \
31-
--mount type=volume,volume-driver=docker4x/cloudstor:aws-v{{ edition_version }},source=sharedvol1,destination=/shareddata \
29+
--mount type=volume,volume-driver=cloudstor:aws,source=sharedvol1,destination=/shareddata \
3230
alpine ping docker.com
3331
```
3432

@@ -41,7 +39,7 @@ With the above example, you can make sure that the volume is indeed shared by lo
4139
```bash
4240
{% raw %}
4341
docker service create --replicas 5 --name ping2 \
44-
--mount type=volume,volume-driver=docker4x/cloudstor:aws-v{{ edition_version }},source={{.Service.Name}}-{{.Task.Slot}}-vol,destination=/mydata \
42+
--mount type=volume,volume-driver=cloudstor:aws,source={{.Service.Name}}-{{.Task.Slot}}-vol,destination=/mydata \
4543
alpine ping docker.com
4644
{% endraw %}
4745
```

docker-for-azure/persistent-data-volumes.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,16 @@ After creating a swarm on Docker for Azure and connecting to any manager using S
1717
```bash
1818
$ docker plugin ls
1919
ID NAME DESCRIPTION ENABLED
20-
f416c95c0dcc docker4x/cloudstor:azure-v{{ edition_version }} cloud storage plugin for Docker true
20+
f416c95c0dcc cloudstor:azure cloud storage plugin for Docker true
2121
```
2222

23-
**Note**: Make note of the plugin tag name, because it will change between versions, and yours may be different then listed here.
24-
2523
The following examples show how to create swarm services that require data persistence using the --mount flag and specifying Cloudstor as the driver.
2624

2725
### Share the same volume between tasks:
2826

2927
```bash
3028
docker service create --replicas 5 --name ping1 \
31-
--mount type=volume,volume-driver=docker4x/cloudstor:azure-v{{ edition_version }},source=sharedvol1,destination=/shareddata \
29+
--mount type=volume,volume-driver=cloudstor:azure,source=sharedvol1,destination=/shareddata \
3230
alpine ping docker.com
3331
```
3432

@@ -41,7 +39,7 @@ With the above example, you can make sure that the volume is indeed shared by lo
4139
```bash
4240
{% raw %}
4341
docker service create --replicas 5 --name ping2 \
44-
--mount type=volume,volume-driver=docker4x/cloudstor:azure-v{{ edition_version }},source={{.Service.Name}}-{{.Task.Slot}}-vol,destination=/mydata \
42+
--mount type=volume,volume-driver=cloudstor:azure,source={{.Service.Name}}-{{.Task.Slot}}-vol,destination=/mydata \
4543
alpine ping docker.com
4644
{% endraw %}
4745
```

0 commit comments

Comments
 (0)