Sign inSign up

brimstone/dstm

By brimstone

Updated over 8 years ago

Docker swarm token manager

Image
0

401

brimstone/dstm repository overview

docker-swarm-token-manager

Manage swarm tokens, better?

Usage

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)

Configuration

  • AUTH_WORKER secret preshared token for workers
  • AUTH_MANAGER secret preshared token for managers

License

Affero GPL v3

Tag summary

Content type

Image

Digest

Size

3.2 MB

Last updated

over 8 years ago

docker pull brimstone/dstm