What now?
That concludes the exploration of basic concepts of the new Swarm features we got with Docker v1.12+.
Is this everything there is to know to run a Swarm cluster successfully? Not even close! What we explored by now is only the beginning. There are quite a few questions waiting to be answered. How do we expose our services to the public? How do we deploy new releases without downtime? I'll try to give answers to those and quite a few other questions in the chapters that follow. The next one will be dedicated to the exploration of the ways we can expose our services to the public. We'll try to integrate a proxy with a Swarm cluster. To do that, we need to dive deeper into Swarm networking.
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 node-1 node-2