Docker Community Forums

Share and learn in the Docker community.

Confirmation on token generation

docker

(2trc) #1

Hi,
I just managed to get my head around the difference between “Docker Swarm” and “Swarm Mode”.

I would just like to confirm on the token generation that in the “Swarm Mode”, the command “docker swarm init” generates two random tokens that have nothing to do with the docker swarm’s hosted discovery service.

I do not wish to rely on external discovery service because The Docker Hub Hosted Discovery Service is not recommended for production use. It’s intended to be used for testing/development