One of the 50 questions in this topic
How much do you know about Docker?The docker swarm init command initializes a Docker swarm, turning the current node into a manager. Generates a token that other nodes can use to join the swarm as workers or managers, thus establishing a cluster for container orchestration.