Docker Community Forums

Share and learn in the Docker community.

Swarm node not joining in the cluster


(Abrahamjaison) #1


My node is not joining into the swarm cluster. When I do docker info, I get the following output for the node:

Nodes: 2
 (unknown): 192.168.XX.XXX:2375
  └ ID:
  └ Status: Pending
  └ Containers: 0
  └ Reserved CPUs: 0 / 0
  └ Reserved Memory: 0 B / 0 B
  └ Labels:
  └ UpdatedAt: 2016-10-19T09:18:38Z
  └ ServerVersion:

As shown, the status is pending always.
Any help on this please?


(5003152) #2

what was the command you ran to add the machine and see the info ?

Try :

docker run -d --name manage -p 4243:2375 swarm manage token://{your token}
docker -H tcp:// info