Manage swarm tokens, better?
Start this on a swarm node, or in a container in the swarm:
$ AUTH_WORKER=SEKRETTOKEN dstm serve
Then use curl on a node joining the swarm:
$ docker swarm join --token $(curl -H "Authorization: SEKRETTOKEN" http://dstm:8080/v1/token/worker)
AUTH_WORKER secret preshared token for workersAUTH_MANAGER secret preshared token for managersAffero GPL v3
Content type
Image
Digest
Size
3.2 MB
Last updated
over 8 years ago
docker pull brimstone/dstm