What now?
That concludes the exploration of basic concepts behind the usage of service discovery inside a Swarm cluster.
Are we done learning about Swarm features? We are far from knowing everything there is to know about Docker Swarm. However, at this point, we have enough knowledge to go back to the end of Chapter 1, Continuous Integration with Docker Containers and make the next logical step. We can design a Continuous Delivery flow.
Now is the time to take a break before diving into the next chapter. As before, we'll destroy the machines we created and start fresh:
docker-machine rm -f swarm-1 swarm-2 swarm-3