In Docker swarm mode, is there a way to get managers' information from workers?
<p>In docker swarm mode I can run <em>docker node ls</em> to list swarm nodes but it does not work on worker nodes. I need a similar function. I know worker nodes does not have a strong consistent view of the cluster, but there should be a way to get current leader or reachable leader.</p>

<p>So is there a way to get current leader/manager on worker node on docker swarm mode 1.12.1?</p>