Docker Community Forums

Share and learn in the Docker community.

Swarm node not joining in the cluster

docker

(Abrahamjaison) #1

Hi,

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?

Thanks


(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://0.0.0.0:4243 info