You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Local server health check can't detect custom default-address-pools #5383
In the Dokploy dashboard, go to the local/main server's Server → Docker → Health tab.
Current vs. Expected behavior
Expected: since a custom default-address-pools is genuinely configured and active, the health tab should show "Custom pool detected on this server."
Observed: it always shows the generic default text, never the custom-pool notice.
Cause: getServerHealth (packages/server/src/services/server-health.ts) reads the config for the local server (no serverId) via execAsync, running inside the Dokploy container itself, not on the host. The health script does cat /etc/docker/daemon.json, but install.sh's docker service create --name dokploy only mounts docker.sock, /etc/dokploy, and a /root/.docker volume, not /etc/docker. So the read always fails silently and addressPools stays null.
Provide environment information
OS: Rocky Linux
Arch: x86_64
Dokploy version: 0.30.5
Which area(s) are affected? (Select all that apply)
Docker
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
networkCount in the same health check is correct (it goes through docker network ls -q via the already-mounted docker.sock), only the daemon.json read is broken.
Suggested fix: use docker info --format '{{json .DefaultAddressPools}}' instead of cat /etc/docker/daemon.json, goes over the same already-mounted socket, no new mount needed:
$ docker info --format '{{json .DefaultAddressPools}}'
[{"Base":"10.10.0.0/16","Size":28}]
Just adjust the field names in the parsing code (Base/Size instead of base/size).
Activity
linear-code commentedon Sep 8, 2026
DOK-753
fix(server-health): detect custom default-address-pools via docker info
chore(release): 0.42.0 [skip ci]
chore: rebase fork onto Dokploy v0.30.10 (#9)