# On the manager node, retrieve the join-token for the specified node type docker swarm join-token worker docker swarm join-token manager # On the worker node docker swarm join --token <token> ip:port