Add steps to remove Minio volumes in the swarm (#4536)

This commit is contained in:
Nitish Tiwari 2017-06-13 16:10:11 -07:00 committed by Harshavardhana
parent 353f2d3a6e
commit 26903da8c2
1 changed files with 10 additions and 0 deletions

View File

@ -51,6 +51,16 @@ Remove the distributed Minio services and related network by
```shell
docker stack rm minio_stack
```
Swarm doesn't automatically remove host volumes created for services. This may lead to corruption when a new Minio service is created in the swarm. So, we recommend removing all the volumes used by Minio, manually. To do this, go to each node in the swarm and list the volumes by
```shell
docker volume ls
```
Then remove `minio_stack` volumes by
```shell
docker volume rm volume_name
```
### Notes