Hi@akhtar,
You need to initialize one node with the docker swarm init command.
$ docker swarm init --advertise-addr 172.31.11.98
Swarm initialized: current node (v99wt041ykw5v9rfkktp7fuhy) is now a manager.
To add a worker to this swarm, run the following command:
docker swarm join --token SWMTKN-1-139c334qwzd17r47hrnd33m7g3xfg8o0gyl1rgkxkliq8kq2ov-bf2inz84bhwbdzp9ddvxrbfoi 172.31.11.98:2377
To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.