Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
new nodes are not showing up in cluster but i can see them on https://discovery-stage.hub.docker.com/v1/clusters/<mytoken> #1129
I created a swarm cluster some time back. To scale out I planned add two more nodes to swarm.
I used following command to add new node
sudo docker -H tcp://0.0.0.0:2375 run -d swarm join --addr=:2375 token://
I see new nodes on discovery hub with previous created nodes but when i query master node(docker info), it does not show the new nodes.
Hey @shashiranjan84, sorry this fell through the cracks.
This likely means swarm cannot reach the nodes.
If you can't restart it with the debug flag, you could simply start another swarm with the same token AS LONG as you use it in read-only mode (e.g. don't run containers on it).
My guess is
You could try something like this:
In the manage machine, run:
@shashiranjan84 You most likely solved the issue by now, sorry for the inconvenience. We're working on adding the connection status on
Feel free to comment below or reach out on IRC (#docker-swarm) if you still have issues with Swarm. Thanks!