I am trying to use wsl2 to do hands on on docker swarm mode. However, when I use docker swarm init
it initialize the current node as manager and provides token to join worker
. However, when i am trying to use the command to join worker it is throwing error as
Error response from daemon: This node is already part of a swarm. Use "docker swarm leave" to leave this swarm and join another one.
Can you please help me to configure wsl2 to use docker swarm mode?