Skip to content

v2.4.0-dev.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Oct 17:23
· 34 commits to master since this release

Dockge can run as a regular user (PUID/PGID) and creates your stacks' bind-mount folders itself, so containers can write to them with no chown on the host. Installs without PUID/PGID keep running as root, as before.

2.3.2 was never published; its security fixes are part of this release.

Added

  • Runs as a regular user. With PUID/PGID set, the container starts as root only to take ownership of Dockge's own folders (data/, the stacks folder, each stack folder and its compose and .env files, and the DOCKGE_BIND_ROOTS folders themselves, never your apps' data), join the group that owns docker.sock, and switch to PUID:PGID with no capabilities. No chown, docker group lookup or group_add on the host
  • Bind-mount folders without chown. Before Deploy, Start, Restart, Update and the REST up actions, Dockge creates a stack's missing bind-mount folders, owned by its user (0755). It covers ./relative paths, paths built from ${VARIABLES} in .env/global.env, and absolute paths under DOCKGE_BIND_ROOTS or the stacks folder. Paths through a symlink, outside those roots or with unset variables are left to Docker. Folders it couldn't prepare are shown as a warning
  • Save checks the file with docker compose first. An invalid compose file is rejected with compose's own message and the saved file stays as it was, instead of being written and failing later on Deploy and on every status refresh
  • The quickstart asks which IP Dockge should listen on (your LAN IP is suggested; all listens everywhere), waits until Dockge answers and prints its address. It also creates /opt/docker/stacks, owned by you
  • DOCKGE_BIND_ROOTS: comma-separated folders (mounted at the same path) where absolute bind-mount folders may be created
  • Permission problems (a stacks folder Dockge can't write, a bad PUID/PGID, PUID that doesn't match user:) are shown after login instead of only in the log, and permission errors on save name the folder and what to do

Changed

  • Quickstart compose.yaml: PUID=1000/PGID=1000, /opt/docker mounted for stacks and bind folders, read-only container filesystem, no-new-privileges, all capabilities dropped except the five the start-up step needs
  • .env and global.env are written 0600 (owner only), including existing files the next time they are saved
  • App files in the image are owned by root, so the user Dockge runs as can't modify them; npm, npx and corepack are removed from the image (Dockge doesn't use them), and Debian security updates are applied at build time
  • ${VAR} substitution in the compose preview now follows docker compose exactly ($VAR, ${VAR:-default} on an empty value, $$), replacing @inventage/envsubst
  • With PUID/PGID, registry logins live in data/docker-config; an existing /root/.docker mount is copied there once

Fixed

  • A missing or mistyped top-level services: (for example ervices:) was silently "repaired" by the editor, which appended services: {} and let the broken file be saved and deployed. It is now shown as an error, and Save/Deploy check the YAML that is in the editor at that moment
  • A stack whose compose file docker rejects logged a full stack trace every few seconds while its page or the stack list was open. It is now logged once per error, and again only when the error changes or the stack recovers
  • The status of a stack that isn't in Dockge's stacks folder (for example one started by another Dockge on the same host) failed with ENOENT
  • A stacks folder that couldn't be created or written stopped Dockge at start; it now starts and warns

Compatibility

  • No PUID/PGID and no user:: runs as root exactly as before. The one-line updater changes only the image tag, so updating doesn't switch an install to the new mode
  • user: "<uid>:<gid>" keeps working; Dockge can't change ownership in that mode, and now warns instead of failing a save when PUID/PGID differ from it

Security

  • engine.io 6.6.9 → 6.6.11 (CVE-2026-102599, High): a client could open a session and then upgrade it to WebSocket with a different or missing EIO protocol version, and a crafted heartbeat then crashed the server process. No login was needed. Upgrades must now match the session's protocol version
  • fast-uri 3.1.6 → 3.1.8 (CVE-2026-84292 High, CVE-2026-84394 High, CVE-2026-86472 Medium): URI authority injection and host confusion
  • ip-address 10.5.0 → 10.7.2 (CVE-2026-101910, Medium): the NAT64 local-use range wasn't recognized, which could let a check for private addresses be bypassed
  • brace-expansion 2.1.4 → 2.1.7 (CVE-2026-102276 High, CVE-2026-102278 High, CVE-2026-102277 Medium): crafted brace patterns could exhaust the stack or CPU
  • Build tools only, not in the image: brace-expansion 1.1.21 (the same three CVEs) and joi 17.13.8 (GHSA-6h2x-m376-mqjq)
  • proxy-addr 2.0.7 → 2.0.8 (CVE-2026-90711, Critical); tsx 4.19 → 4.23 (its esbuild was built with a Go runtime carrying 22 Critical/High CVEs); vue 3.5.43 (GHSA-g2v6-rqmx-r4w6, High); sass 1.105 (build tool only)
  • Image scan (Trivy): no known vulnerabilities at any severity, down from 6 Critical and 41 High in the v2.3.1 image

CI and tooling

  • Images are pushed by digest, scanned with Trivy on amd64, arm64 and armv7 (trivy.yaml), and only then tagged: a fixable Critical/High means no version tag is published. Reviewed exceptions go in .trivyignore.yaml, each with a reason and an expiry. The base-image workflow works the same way
  • Each released image carries signed build provenance (gh attestation verify oci://ghcr.io/darthrater78/dockge:<version> --repo darthrater78/dockge)
  • The release workflow creates the GitHub release from this Version History section; -dev/-beta/-rc tags become pre-releases
  • New checks: dependency review on pull requests (fails on a new High/Critical advisory) and CodeQL for the TypeScript
  • CI skips its build for docs-only changes but still reports a passing run, so a docs-only commit can be released
  • The Dockerfile pins its own base images by digest
  • ESLint 10 with a flat config (eslint.config.mjs), typescript-eslint 8, eslint-plugin-vue 10, unplugin-vue-components 32: npm audit reports 0 vulnerabilities, build tools included