From 26903da8c2135bf952ac1d772a9a4b63e82ea15b Mon Sep 17 00:00:00 2001 From: Nitish Tiwari Date: Tue, 13 Jun 2017 16:10:11 -0700 Subject: [PATCH] Add steps to remove Minio volumes in the swarm (#4536) --- docs/orchestration/docker-swarm/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/orchestration/docker-swarm/README.md b/docs/orchestration/docker-swarm/README.md index 2e226b2f3..e8bbe71eb 100644 --- a/docs/orchestration/docker-swarm/README.md +++ b/docs/orchestration/docker-swarm/README.md @@ -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