Repository navigation
v1.9.0-rc.3
Pre-release
Pre-release
v1.9.0-rc.3
Full Changelog: v1.9.0-rc.2...v1.9.0-rc.3
[1.9.0-rc.3] - 2026-11-30
Added
- Roles for signed-in users (RBAC). Every person now holds
viewer,operatororadmin, and the server enforces it on every/api/v1route through the same scope registry API keys use. Viewers read everything and keep their own preferences and two-factor setup. Operators can also watch, update, roll back, start, stop and restart, decide approvals and fire triggers. Admin covers everything else. SetDD_AUTH_BASIC_<name>_ROLEper Basic user andDD_ANONYMOUS_AUTH_ROLEfor anonymous access. Anything unset isadmin, so existing installs don't change. Roles are resolved per request, so a demotion applies to live sessions after a restart. An invalid role fails closed, and startup refuses a configuration where nobody is admin. Start, stop and restart move to a newcontainers:controlAPI key scope, whichadminkeys already imply. OpenAPI operations now carryx-drydock-min-role. OIDC users stayadminuntil group mapping ships. The API key review after a recovery-code sign-in applies only to roles that can manage keys (admin), so a viewer or operator isn't held on a page they can't open. - OIDC group-to-role mapping.
DD_AUTH_OIDC_{auth_name}_ADMINGROUP,_OPERATORGROUP,_VIEWERGROUPand_DEFAULTROLEmap identity-provider groups to the viewer, operator and admin roles. The highest matching role wins, an unmatched user getsDEFAULTROLE(viewerwhen groups are mapped, otherwiseadmin), andnonerefuses the login. The role is stored in the session at login and worked out on every bearer request. OIDC sessions from before a mapping was set on their provider are signed out so they can't keep admin. Each session records the provider that signed it in, so a provider without a mapping keeps its sessions while another one maps groups, and a pre-1.9 session that never recorded a provider is signed out once any provider maps groups. - RBAC audit trail — audit entries now record the role the actor held (
actorRole, also a column in the audit export). A request refused for lack of a role or scope writes anauth-deniedaudit entry (throttled to one per actor and route per minute) and incrementsdrydock_authz_denied_total{scope,role}. The Roles docs page, audit API docs and monitoring docs cover it. - UI: controls your role can't use are now hidden, including the container side panel, full-page view, row menu, dashboard and security update buttons. A viewer sees no update, rollback, scan, snooze, approve or reject buttons and no Settings entry, an operator keeps those but not Settings, and the user menu shows your role.
GET /auth/usernow returnsroleandscopes, and a role-denied 403 shows a "Not allowed" toast. - Audit log: settings updates, notification rule edits, notification outbox retry/delete, update-operation cancels and agent key add/revoke/rotate now write audit rows, and a route inventory test fails when any new POST/PUT/PATCH/DELETE endpoint has neither an audit row nor a justified exemption.
- Container state alerts (stopped, exited, OOM killed, restart loop) now appear in the audit log and can show in the notification bell, and the notification editor shows translated names and descriptions for them.
- OIDC: new
DD_AUTH_OIDC_{name}_IDTOKENSIGNEDALGoption setsid_token_signed_response_algso IdPs that sign ID tokens with ES256 (or other non-RS256 algorithms) can log in. Validated against a JOSE allowlist; default behaviour is unchanged. Idea from WUD. - OIDC: new opt-in
DD_AUTH_OIDC_{name}_REQUIREEMAILVERIFIED=truedenies sign-in when an email or domain allowlist is set and the IdP sends noemail_verifiedclaim. Default is unchanged (a missing claim is still accepted). - Four new registry providers: Elastic (
docker.elastic.co), Linode, Scaleway (scw.cloud) and self-hosted ProGet. Each matches only its own hosts (no suffix or lookalike spoofing), supports anonymous bearer and credentialed auth, and masks secrets. Elastic, Linode and Scaleway are enabled anonymously by default, so registries go from 23 to 27. - Native notification providers for PagerDuty (Events API v2), Opsgenie, Signal (signal-cli-rest-api), Zulip and Uptime Kuma push monitors, configured with
DD_NOTIFICATION_{PAGERDUTY,OPSGENIE,SIGNAL,ZULIP,UPTIMEKUMA}_*. Each supports single and batch templates, masks its secrets in configuration output, and uses the outbound HTTP timeout. - Docker watchers can reach a remote host over SSH with
DD_WATCHER_<name>_PROTOCOL=ssh(runsdocker system dial-stdioon the host). It needsSSHUSER, a pinnedSSHHOSTKEYSHA-256 fingerprint, and a key file, agent or password. A host key mismatch refuses the connection. Requirements are documented on the watchers page, and the SSH password and key passphrase are redacted in debug dumps and masked inGET /api/v1/watchers. - Six new native notification providers: Bark, Prowl, WhatsApp (Cloud API), XMPP, AMQP (RabbitMQ) and NATS, configured with
DD_NOTIFICATION_<TYPE>_<NAME>_*. Each has outbound timeouts where HTTP is used, batch and single templates, secret masking in config output and debug dumps, and a docs page under Actions & Notifications. AMQP listens for broker-side channel errors, so a refusedassertExchangelogs a warning instead of stopping Drydock, and XMPP stops its client after a failed send so it doesn't keep reconnecting. - Registries: outbound HTTP(S) proxy support. Set
DD_REGISTRY_{type}_{name}_PROXYper registry, orDD_HTTPS_PROXY/DD_HTTP_PROXY/DD_NO_PROXYglobally (falling back to the standardHTTPS_PROXY/HTTP_PROXY/NO_PROXY, then an http(s)ALL_PROXY). A proxy that never answers CONNECT fails the request after the registry request timeout. HTTPS registries go through an HTTP CONNECT tunnel, so authenticating proxies work with the registry's CA, mTLS and insecure settings intact. Proxy credentials are masked in the registration log and API config output. - Sub-path hosting (
DD_SERVER_BASEPATH) — setDD_SERVER_BASEPATH=/drydockto serve the UI, API, SSE/WebSocket streams, session cookie and OIDC callback under a sub-path behind a reverse proxy; works whether the proxy forwards or strips the prefix. Nginx and Traefik examples are in the server configuration docs. (Discussion #1524) - Required upgrade stops:
dd.tag.stops=27,28,29(or an imgsetTAG_STOPS) keeps updates from jumping past the next stop the running version hasn't reached, so Nextcloud can go one major at a time and GitLab through its required versions. Composes withdd.tag.ceiling(#1496). An imgsetTAG_STOPSno longer fails watcher validation.
Changed
- Website: the homepage comparison table now compares Drydock with WUD, Arcane and Portainer (Diun and Watchtower leave the homepage; their /compare pages stay, and the Watchtower page doubles as a migration guide). It adds approval-queue, maintenance-window, audit-log, Swarm/Kubernetes/Nomad and one-shot CI rows. The trigger count shown on the site and docs now matches the README (26).
- Website: archived docs versions (v1.3 to v1.8) now emit JSON-LD marked as archived (
creativeWorkStatus: "Archived"plus anisPartOfpointing at the versioned docs root), while the current docs keep unversioned-status markup. - Internal cleanup: one shared
getErrorMessage(the docker-helpers copy is gone), the session-lock waits in basic auth and OIDC now use abortablesleep, and the demo app no longer registersDELETE /api/v1/icons/cachetwice. - Manual trigger runs (
POST /api/v1/actions/...,/notification-triggers/..., the legacy/triggers/...and/containers/:id/triggers/...) are now capped at 60 per minute per caller and answer429past that, on top of the outer API limit.
Fixed
- Synced preferences no longer lose an edit to a replayed write.
PATCH /api/v1/preferencesnow takes the documentrevisionand answers409 PREFERENCES_REVISION_STALEwhen it is behind. This covers a write that committed but whose response was lost, followed by an edit on another device. The UI re-fetches, merges by section and retries. An edit made before the first fetch finished keeps its local value.GETandPATCHresponses carry the newrevisionfield, and omitting it onPATCHkeeps the old unconditional write. - Security fast lane: a replica whose running scan is newer than the remembered candidate scan now gets its own fresh candidate scan instead of being marked attempted and left waiting for its next running-scan change.
- Image pruning after a digest update no longer removes the previous image when a retained rollback backup records that digest, so the rollback no longer fails on a missing image.
- Auto-rollback health monitoring no longer logs "container is healthy" at the end of its window when every inspect failed or the healthcheck was still starting. The log now reports the real outcome (inspect failed, still starting, healthy, or never reported a status).
- Portwing agents: long Docker operations (stop/restart with a long
t, wait, image load, archive upload, prune) no longer hit the fixed 30 s request cap when the agent advertisesdd:request-timeout. Drydock sends a per-request timeout hint and waits hint + 5 s, maps the agent'srequest_timeouterror (and a Standard 504 withX-Portwing-Code: request_timeout) to a typed error whose message says the operation may still have completed, and sendsdd:cancelfrom Edge request timeouts and aborts when the agent advertises it. - Registries: manifests whose body omits
mediaTypeno longer fail with "no manifest found". The type is inferred from the response Content-Type, then from the body shape (manifests[]is an index,configpluslayersis a single manifest). - Compose file updates keep the file's mode and owner. Drydock now copies permissions and ownership onto the temp file before the atomic rename, and onto the
.backcopy. A chown failure (non-root) logs a warning and doesn't block the update. - Recreating a container now reconciles its Healthcheck against the new image field by field. A healthcheck inherited from the old image follows the new image (or is dropped if the new image has none), while fields you set yourself, including an explicit NONE, are kept. Rollback restores the old image's default the same way.
Security
- The trigger run routes (
/api/v1/triggers,/api/v1/actionsand/api/v1/notification-triggers, local and agent-qualified) no longer run actions on a container described in the request body.commandand the CI dispatch providers (githubdispatch,gitlabpipeline) now take only theidfrom the body and run on the stored container, returning 404 when it's unknown and 409 when the agent doesn't match. The agent-side single and batch routes re-read their own store the same way. A notification test-fire keeps a bounded simulated container:labelsand other unknown keys are dropped and strings are capped at 2048 characters. Hardening ported from WUD GHSA-46pm-mm9q-xv3c. - Agents using Ed25519 request signing now sign Portwing signature v3, which binds each request to the agent's own ID. A request captured for one agent can no longer replay on another agent that trusts the same controller key. Drydock reads the ID from /_portwing/info, confirms the agent accepts v3, pins it per agent, never falls back to v2 once pinned, and stops signing if the agent's ID changes.
DD_AGENT_{name}_AUDIENCEsets the ID explicitly. Needs Portwing 1.1.0 or newer. Rolling back to 1.8 needsportwing signature-lock clear <keyID>on the agents first.
Documentation
- The homepage comparison table now compares Drydock with WUD, Arcane and Portainer instead of WUD, Diun and Watchtower. The README update-managers table no longer has the archived Watchtower column (all translations). The site's Watchtower comparison page, footer link and compare matrix row stay.