Relationships
#2701 Docs: worker-fleet guides start swamp serve without --admins and mint tokens with a removed command
Opened by hammz · 9/29/2026
Description
The worker-fleet guides' orchestrator setup no longer runs against current swamp (20260929.151817.0). I found this while verifying #2691 end to end.
content/manual/how-to/worker-fleets/docker.md"Start the orchestrator" andworker-fleets/kubernetes.mdPrerequisites runswamp serve … --auth-mode tokenwithout--admins. The server refuses to start:Error: --admins is required when --auth-mode is "token".docker.md"Create tokens" runsswamp auth server-token create admin --duration 24h. That fails withUnknown option "--duration", andswamp help authno longer listsserver-token. The current path isswamp access token mint <name> --principal user:<id> [--duration …]plusswamp access token reveal(seeswamp-serve/set-up-token-auth.md, which is current).- The pages then use the
admin.<secret>value asSWAMP_SERVER_TOKEN(docker.md,docker-compose.md, and the Kubernetes Secret inkubernetes.md), so those steps need to follow the mint/reveal flow. - On Linux Docker Engine,
host.[HOST-1]does not resolve inside a container unless the reader adds--add-host host.[HOST-1]:host-gateway(extra_hostsin Compose). The guide assumes Docker Desktop.
Steps to Reproduce
- Follow
/manual/how-to/worker-fleets/dockerstep by step on swamp 20260929.151817.0. swamp serve --host 0.0.0.0 --cert-file cert.pem --key-file key.pem --auth-mode token --trusted-hosts host.[HOST-1]exits with the--adminserror.swamp auth server-token create admin --duration 24hexits withUnknown option "--duration".
Environment
swamp 20260929.151817.0-sha.41b2495e, Linux, Docker Engine 29.8.1.
Closed
No activity in this phase yet.
stack72 commented 9/29/2026, 11:33:48 PM
Docs fix in swamp-club PR 1265 (one PR covering #2626, #2653, #2661, #2679, #2692, #2694, #2701, #2728, #2733, #2740).
stack72 commented 9/29/2026, 11:35:16 PM
Fixed in swamp-club PR 1265. docker.md and kubernetes.md now pass --admins to swamp serve. docker.md mints the worker's server token with swamp access token mint worker-token --principal user:worker --duration 24h and prints it with swamp access token reveal. docker.md, docker-compose.md and the Kubernetes Secret use worker-token.. docker.md and docker-compose.md add the Linux Docker Engine note (--add-host host.[HOST-1]:host-gateway / extra_hosts). Checked against a sandbox swamp serve: a worker enrolled with the non-admin token.
Sign in to post a ripple.