Docker Community Forums

Share and learn in the Docker community.

How to make Cluster Swarm on Centos 7


(280696) #1

I have 4 server CentOS 7, thats 1 Swarm Manager , 1 Swarm Manager 2 for Failover, and 2 Nodes,
I had configure Swarm Manager, and I difficult configure on Nodes.
Where I configure like this :
nano /usr/lib/systemd/system/docker.service
[Service]

ExecStart=/usr/bin/docker -d -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock --cluster-store=consul://192.168.145.131:8500 --cluster-advertise=192.168.145.135:2375

then I am reboot my server,
Thats too long…

So, I ask to all of you, did my configure true ??

Thanks guys… :slight_smile: