Docker Community Forums

Share and learn in the Docker community.

Swarm Questions (no docker-machine)


(Funkytaco) #1
    1. Does swarm list token://$token always point to the Docker hub discovery service?
    1. Do I just use swarm list consul://$token instead if I want to use Consul?
    1. If the answer to number 2 is “yes”, then what’s a recommend/good way of using Consul?

(Timgriffiths) #2

So my understanding of swarm are tokens are only used for Docker hub service discovery, if you want to use Consul to manage the service discovery. then you don’t need to run this. if you have Consul already set up and running

Pretty good documentation of how to set this up can be found here

Let me know if you get stuck