Process Flow - Swarm mode initialization
Run 'docker swarm init'
Docker checks current node state
Not in swarm
Initialize swarm
Create manager node
Generate join tokens
Swarm mode active
This flow shows how running 'docker swarm init' checks the node state, initializes the swarm if not already in one, creates a manager node, generates join tokens, and activates swarm mode.