Skip to main content
← Back to list
01Issue
BugClosedSwamp ClubPublic
AssigneesNone

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" and worker-fleets/kubernetes.md Prerequisites run swamp serve … --auth-mode token without --admins. The server refuses to start: Error: --admins is required when --auth-mode is "token".
  • docker.md "Create tokens" runs swamp auth server-token create admin --duration 24h. That fails with Unknown option "--duration", and swamp help auth no longer lists server-token. The current path is swamp access token mint <name> --principal user:<id> [--duration …] plus swamp access token reveal (see swamp-serve/set-up-token-auth.md, which is current).
  • The pages then use the admin.<secret> value as SWAMP_SERVER_TOKEN (docker.md, docker-compose.md, and the Kubernetes Secret in kubernetes.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_hosts in Compose). The guide assumes Docker Desktop.

Steps to Reproduce

  1. Follow /manual/how-to/worker-fleets/docker step by step on swamp 20260929.151817.0.
  2. 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 --admins error.
  3. swamp auth server-token create admin --duration 24h exits with Unknown option "--duration".

Environment

swamp 20260929.151817.0-sha.41b2495e, Linux, Docker Engine 29.8.1.

02Bog Flow
✓OPEN○TRIAGED○IN PROGRESS◉CLOSED

Closed

9/29/2026, 11:35:17 PM

No activity in this phase yet.

03Sludge Pulse
Editable. Press Enter to edit.

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.