There are three advanced topics we will take a look at in this section:
You can also use services such as etcd, ZooKeeper, consul, and many others to automatically add nodes to your Swarm cluster as well as do other things such as list the nodes or manage them. Let's take a look at consul and how you can use it. This will be the same for each discovery service that you might use. It just involves switching out the word consul with the discovery service you are using.
On each node, you will need to do something different in how you join the machines. Earlier, we did something like this:
$ docker-machine create \ -d virtualbox \ --swarm \ --swarm-discovery ...