github CodesWhat/drydock v1.8.0-rc.18

pre-releaseone hour ago

v1.8.0-rc.18

Full Changelog: v1.8.0-rc.17...v1.8.0-rc.18

[1.8.0-rc.18] - 2026-11-30

Warning

Release candidate for opt-in testing. SQLite changes the on-disk store. Stop Drydock and back up the complete store directory before upgrading from v1.7 or earlier. First startup imports existing JSON data into SQLite. Downgrading requires restoring the pre-upgrade snapshot; changes made only in SQLite are not carried back.

This candidate includes every rc.17 change plus security fixes for registry credential routing, ECR authorization, digest-bound approvals, anonymous-access writes and Compose identity. Its soak starts when this candidate is published.

Security

  • Private ECR authorization is now only attached to a request whose parsed URL is HTTPS, on the default port, without userinfo, and for an ECR registry host in the configured region. A registry URL taken from a stored or agent-reported container record that points anywhere else is refused before the ECR token is requested or sent. The same check now gates the pull credential handed to security scans, so a scan of a container whose stored registry URL is not an approved ECR host gets no ECR credential.
  • The ECR pull credential check is no longer opt-in. Every pull path (Docker and Docker Compose updates, rollback pulls and the manual rollback API) now passes the registry URL it pulls from, and a missing or unapproved target is refused before the credential is fetched.
  • Images from the public ECR gallery (public.ecr.aws) keep working when a private ECR instance is configured: they take the anonymous gallery token path and never receive the private credential.
  • An update approved from the approval queue is now held to the digest that was approved. A digest-bound approval pulls that digest directly and then points the tag at it, instead of pulling the tag, so a publisher who moved the tag after approval can't get different content installed than the operator saw. Drydock still compares the pulled digest with the approved one as a backstop, and aborts the install with an audit entry before the running container is touched when they differ. The approved digest also survives a restart while the update waits in the queue. A tag-only approval is unchanged. A digest-bound approval for a container on a remote agent is refused with a 409 and nothing is dispatched, because the agent can't hold the install to the digest yet.
  • The container environment reveal endpoint (POST /api/v1/containers/:id/env/reveal) now requires a signed-in user. Under anonymous access it returns 403 and no longer reads the live environment from Docker or an agent. Sessions, Basic and OIDC logins are unchanged, and API keys were already refused.
  • API key creation and Edge agent key registration now return 403 (details.reason is anonymous-enrollment) when the request comes from anonymous access, so a credential that outlives a switch to authenticated access needs a named issuer. Listing and revoking are unchanged. If you ran with DD_ANONYMOUS_AUTH_CONFIRM=true on an earlier version, review your API keys and Edge agent keys and revoke any you don't recognise.
  • Writing the configuration file (PUT /api/v1/config/:section and the watcher, notification and action editors) now returns 403 (details.reason is anonymous-enrollment) when the request comes from anonymous access. A Basic account or other secret written into the file by anonymous access would keep working after you turned anonymous access off. Reading the configuration is unchanged.
  • Registry credentials are now bound to the registry they belong to. Scans, updates, rollbacks and backup restores only receive a registry credential when the configured registry serves the image's own host and port, and the pull reference lands on that same host. A custom registry matches by host and port instead of a URL substring, private ECR no longer matches a URL that only ends in an ECR hostname in its path or query, and Docker Hub no longer lets a dotted first segment of an image name become the registry host. A container whose registry comes from an agent or a lookup label and doesn't match pulls and scans without credentials.
  • Pin Alpine libexpat to 2.11.0-r0. Alpine replaced 2.10.0-r0 in the v3.24 repository, which broke every image build with a libexpat-2.11.0-r0: breaks: world[libexpat=2.10.0-r0] error.
  • API keys can no longer write the auth section of the configuration file. PUT /api/v1/config/auth now answers 403 with details.reason set to api-key-auth-configuration for any API key, whatever its scopes, so a key can't add a sign-in account that outlives it. Sign in with a user session to change authentication configuration. Other sections stay within the admin scope.
  • API keys can no longer write a command through the configuration file either. PUT /api/v1/config/:section now answers 403 with details.reason set to api-key-command-configuration when the body sets a command action (action.command.*), a scanner command (security.<provider>.command) or scanner args (security.<provider>.args). Other keys in those sections, and every write from a user session, are unchanged. Trivy and Syft extra arguments now also refuse a short flag with its value attached (-ftemplate, -o/path) and Trivy refuses --template and -t.
  • A container no longer takes its Compose project and service from com.docker.compose.* labels that its image bakes in. Docker merges image labels into the container's, so an image could claim another service's project and service, share its identity and so its rollback history, update policy and overrides. Compose labels with the same value as the image's own are now ignored, including on containers already stored, which are corrected on the next watch cycle. A container that was only keyed this way falls back to its watcher and name.
  • A Compose service running an image built by docker compose build keeps its Compose identity. The build stamps the same project and service labels onto the image, so a container Compose created is recognised by its container-only labels (config hash, container number) and its labels are kept. Rollback no longer offers or restores a backup recorded for a different image than the container's own, so backups an image-forged identity left in a service's history can't be restored into it.
  • Docker updates that run on the controller for a remote Portwing-managed host no longer start lifecycle hook commands on the controller, and no longer edit controller-local Compose files, based on labels reported by the remote workload. Hook labels on agent-owned containers are ignored and recorded in the audit log by label name only, and Compose file sync only applies to containers on the host Drydock runs on. Hooks for those hosts run from a Drydock agent on that host. Containers from a local watcher pointed at a remote TCP daemon are not agent-owned, so they still run hooks and Compose sync on the Drydock host.
  • Registry URLs can no longer carry credentials. The url option of the custom, Artifactory, Codeberg, Forgejo, Gitea, Harbor and Nexus registries, and the url and authurl options of the GitLab and Mau registries, now reject a user:password@ section and name the login, password, auth and token options as the place for credentials. As a second layer, registry configuration is stripped of any URL credentials before it is written to the startup log, returned by the registry and debug APIs, or kept in the browser's last-known cache, and credentials already stored in a container's registry URL are removed at startup. A registry whose URL still carries credentials needs them moved to the dedicated options, and any credential that was embedded in a URL should be rotated.

Don't miss a new drydock release

NewReleases is sending notifications on new releases.