November 2017
Intermediate to advanced
298 pages
7h 10m
English
We are not the kind to leave useless services around, so we will remove our stack and stop our Swarm cluster as we prepare for the next chapter:
$ docker stack rm swarm_testRemoving service swarm_test_application-serverRemoving service swarm_test_web-serverRemoving service swarm_test_local-databaseRemoving network swarm_test_service_network$ docker swarm leave --forceNode left the swarm.
We won't need to clean up the network or running containers as they will automatically get removed by Docker once our stack is gone. With this part done, we can now move on to the next chapter about volumes with a clean slate.
Read now
Unlock full access