How to make cluser docker on centos 7

Hy guys,
I want ask for all of you,
I have docker on centos 7, and i have 4 node to cluster…
So, how i can cluster using swarm manager docker on centos 7 ?

Thanks guys

There is some great docs on this:

But in short:

  • install docker on all nodes
  • on the master node: docker swarm init
    then it will show you which command to use on slave nodes.