Repository navigation
v2.4.0
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/PGIDset, 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.envfiles, and theDOCKGE_BIND_ROOTSfolders themselves, never your apps' data), join the group that ownsdocker.sock, and switch toPUID:PGIDwith no capabilities. Nochown, docker group lookup orgroup_addon the host - Bind-mount folders without
chown. Before Deploy, Start, Restart, Update and the RESTupactions, Dockge creates a stack's missing bind-mount folders, owned by its user (0755). It covers./relativepaths, paths built from${VARIABLES}in.env/global.env, and absolute paths underDOCKGE_BIND_ROOTSor 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;
alllistens everywhere), waits until Dockge answers and prints its address. It also creates/opt/docker/stacks, owned by you extra/migrate-to-puid.sh: moves an existing install toPUID/PGIDand the hardened settings. It reads the running container, shows the new compose file and a diff before changing anything, backs up, and prints an undo command. It refuses setups it can't rewrite safely. See Upgrading to 2.4.0DOCKGE_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,PUIDthat doesn't matchuser:) 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/dockermounted for stacks and bind folders, read-only container filesystem,no-new-privileges, all capabilities dropped except the five the start-up step needs .envandglobal.envare written0600(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 indata/docker-config; an existing/root/.dockermount is copied there once
Fixed
- Stack names are checked where every stack path is built, so a name such as
../xsent to Save, Deploy or the port check can no longer make Dockge look outside the stacks folder before the name is validated. The REST API also ignores anendpointquery parameter that isn't a single value. Both were found by the new CodeQL scan; a login or API key was needed - A missing or mistyped top-level
services:(for exampleervices:) was silently "repaired" by the editor, which appendedservices: {}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 (details: Upgrading to 2.4.0)
- No
PUID/PGIDand nouser:: 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 PUID/PGIDalready set: behaviour change. Before 2.4.0 they only set the owner of stack files; now Dockge itself switches to that user (data and stack files are re-owned on start, registry logins are copied, and the web console is no longer a root shell). Remove both to keep running as rootuser: "<uid>:<gid>"keeps working; Dockge can't change ownership in that mode, and now warns instead of failing a save whenPUID/PGIDdiffer 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
EIOprotocol 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/-rctags 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 auditreports 0 vulnerabilities, build tools included