Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Docker Desktop 4.38.0 Update on Windows breaks Docker related stats in Beszel #513

Open
v1rusnl opened this issue Jan 31, 2025 · 4 comments

Comments

@v1rusnl
Copy link

v1rusnl commented Jan 31, 2025

Description

Today I upgraded to Docker Desktop 4.38.0 and all Docker related stats (CPU/RAM/NW-IO/HDD-IO) stopped showing up in Beszel Dashboard.

I checked the docker stats in Powershell according to the Beszel Common issue page and all stats are showing as expected, so it seems something in the update broke data grabbing by the Beszel agent.

CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 4aeb1c85a2c5 beszel-agent 0.00% 8.305MiB / 7.649GiB 0.11% 10.9kB / 19.7kB 0B / 0B 6 249abc5aed3d socat-socat-1 0.00% 2.105MiB / 7.649GiB 0.03% 18kB / 263kB 0B / 0B 1 569071d994c7 romm 0.55% 566.8MiB / 7.649GiB 7.24% 3.77kB / 1.71kB 0B / 0B 21 c174c2cec330 romm-db 0.01% 134.3MiB / 7.649GiB 1.71% 2.61kB / 2.61kB 0B / 0B 10 02a585b00274 paperless-ngx-webserver-1 0.28% 788.6MiB / 7.649GiB 10.07% 19.9MB / 960kB 0B / 0B 85 751672110d13 paperless-ngx-db-1 0.00% 49.09MiB / 7.649GiB 0.63% 344kB / 4.96MB 0B / 0B 8 d8bdbdbd9de1 paperless-ngx-gotenberg-1 0.04% 10.35MiB / 7.649GiB 0.13% 1.4kB / 0B 0B / 0B 10 330d3d48c72e paperless-ngx-broker-1 0.30% 12.19MiB / 7.649GiB 0.16% 322kB / 96.8kB 0B / 0B 6 797f6264211f paperless-ngx-tika-1 0.26% 179.6MiB / 7.649GiB 2.29% 1.17kB / 0B 0B / 0B 54 0c2242f2a749 audiobookshelf 0.02% 48.4MiB / 7.649GiB 0.62% 1.71kB / 0B 0B / 0B 12 f7f3ec8dc9d1 portainer_agent 0.00% 15.59MiB / 7.649GiB 0.20% 55.1kB / 432kB 0B / 0B 6

Rolled back to Docker Desktop 4.37.2 and everything is back to normal and Docker related stats are sent by agent to Dashboard.

Expected Behavior

Update to 4.38.0 and all the Docker related stats are still sent by agent to the Beszel Dashboard.

Steps to Reproduce

  1. Use Docker Desktop 4.37.2 -> Docker stats are shown in Beszel Dashboard
  2. Update to Docker Desktop 4.38.0
  3. Check Connected Agent stats in Dashboard -> no Docker Stats
  4. Roll back to 4.37.2 -> stats are back in Dashboard

OS / Architecture

Docker on windows/amd64 (Agent), Docker on linux/amd64 (Hub)

Beszel version

0.9.1

Installation method

Docker

Configuration

Default Docker Compose

Hub Logs

Agent Logs

@v1rusnl v1rusnl added the bug Something isn't working label Jan 31, 2025
@henrygd
Copy link
Owner

henrygd commented Jan 31, 2025

Thanks for letting me know. I'll see if I can figure out some of the windows issues before the next release.

@lagge78
Copy link

lagge78 commented Feb 4, 2025

For information, I have the same problem after updating to latest Docker desktop in windows 11.

@henrygd henrygd moved this to Bug backlog in Beszel Roadmap Feb 16, 2025
@jainal09
Copy link

+1 on this failing on this version. Worked on previous version

@henrygd
Copy link
Owner

henrygd commented Feb 21, 2025

This is a bug in Docker Desktop 4.38.0 that also affects MacOS: docker/for-mac#7575

Sounds like they'll have a fix out soon. I'll add the user agent workaround in the next version of Beszel.

As a possible temporary patch you can try using an undocumented env var for the beszel agent to raise the timeout of the docker client to five or ten seconds: DOCKER_TIMEOUT=10s

@henrygd henrygd removed the bug Something isn't working label Feb 21, 2025
henrygd added a commit that referenced this issue Mar 4, 2025
- also added body closure I forgot earlier whoops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Bug backlog
Development

No branches or pull requests

4 participants