Create a swarm. Estimated reading time: 2 minutes. After you complete the tutorial setup steps, you’re ready to create a swarm. Make sure the Docker Engine daemon is started on the host machines. Open a terminal and ssh into the machine where you want to run your manager node.
https://docs.docker.com/engine/swarm/swarm-tutorial/create-swarm/