Files
beszel-ipv6/agent
Aditya Raj Singh 7c60f02802 fix(agent): don't read host CPU and memory totals from a Docker VM (#2272)
refreshSystemDetails() takes NCPU and MemTotal from the Docker daemon's
/info response. That only describes this machine when the daemon shares its
kernel. On macOS and Windows Docker runs inside a Linux VM, so the system
details header shows the VM's memory as the host total, and the VM's CPU
count clamps both cores and threads through the lxc branch below it.

Only consult Docker's host info on platforms where the daemon runs natively.
Everything else already falls back to gopsutil, which reads this host.
2026-08-30 11:09:39 -04:00
..
2026-02-26 18:38:54 -05:00
2026-08-15 15:59:07 -04:00
2026-08-15 15:59:07 -04:00
2026-02-18 14:51:30 -05:00