From 589597094fc3fa956951ad2be5071e57942c51de Mon Sep 17 00:00:00 2001 From: willieLOH Date: Mon, 15 May 2017 00:02:10 +0800 Subject: [PATCH] Update beginner/chapters/votingapp.md added command to remove stack --- beginner/chapters/votingapp.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/beginner/chapters/votingapp.md b/beginner/chapters/votingapp.md index af744276bf..93abf3eb73 100644 --- a/beginner/chapters/votingapp.md +++ b/beginner/chapters/votingapp.md @@ -251,5 +251,13 @@ docker stack deploy --compose-file docker-stack.yml vote Now take it for a spin again. Go to the URLs you used in section [3.1](#31-deploying-the-app) and see the new votes. +#### 3.2.5 Remove the stack + +Remove the stack from the swarm. + +``` +docker stack rm vote +``` + ### 3.3 Next steps Now that you've built some images and pushed them to docker hub, and learned the basics of Swarm mode, you can explore more of Docker by checking out [the documentation](https://docs.docker.com). And if you need any help, check out the [Docker Forums](forums.docker.com) or [StackOverflow](https://stackoverflow.com/tags/docker/).