Description
Hi!
I have a rootless docker setup, but my user (pi) is in the docker group, so I can execute any docker command without sudo. However, I cannot see Docker charts.
Expected Behavior
I should see Docker charts.
Steps to Reproduce
I've installed beszel and beszel-agent with the docker-compose.yml examples from the website. I can succesfully connect to the dashboard and see my agent. However, I cannot see the Docker related charts.
When running the agent with log level debug I see this logs,
beszel-agent | 2025/03/04 15:52:50 DEBUG Error getting docker stats err="Get \"http://localhost/containers/json\": dial unix /var/run/docker.sock: connect: permission denied"
If I force docker.sock permissions (which not recommend) to 666, I get,
beszel-agent | 2025/03/04 15:54:16 DEBUG Docker stats data=[]
Furthermore, I tried docker stats and wasn't showing either MEM or CPU, so I've followed the guide mentioned in the docs, added those params to cmdline.txt, rebooted, and memory is now showing, but CPU is still zero for all containers. When running docker info I still get,
WARNING: No cpuset support
OS / Architecture
Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
Beszel version
0.9.1
Installation method
Docker
Configuration
Hub Logs
Agent Logs
beszel-agent | 2025/03/04 15:53:50 DEBUG Getting stats
beszel-agent | 2025/03/04 15:53:50 DEBUG Temperature sensors="[{\"sensorKey\":\"cpu_thermal\",\"temperature\":45.464,\"sensorHigh\":0,\"sensorCritical\":110}]"
beszel-agent | 2025/03/04 15:53:50 DEBUG sysinfo data="{Hostname:raspberrypi KernelVersion:6.1.21-v7+ Cores:4 Threads:4 CpuModel:Cortex-A7 Uptime:1467 Cpu:3.84 MemPct:27.09 DiskPct:23.81 Bandwidth:0 AgentVersion:0.9.1 Podman:false}"
beszel-agent | 2025/03/04 15:53:50 DEBUG System stats data="{Stats:{Cpu:3.84 MaxCpu:0 Mem:0.9 MemUsed:0.24 MemPct:27.09 MemBuffCache:0.56 MemZfsArc:0 Swap:0.1 SwapUsed:0 DiskTotal:28.14 DiskUsed:6.42 DiskPct:23.81 DiskReadPs:0.01 DiskWritePs:0.01 MaxDiskReadPs:0 MaxDiskWritePs:0 NetworkSent:0 NetworkRecv:0 MaxNetworkSent:0 MaxNetworkRecv:0 Temperatures:map[cpu_thermal:45.46] ExtraFs:map[] GPUData:map[]} Info:{Hostname:raspberrypi KernelVersion:6.1.21-v7+ Cores:4 Threads:4 CpuModel:Cortex-A7 Uptime:1467 Cpu:3.84 MemPct:27.09 DiskPct:23.81 Bandwidth:0 AgentVersion:0.9.1 Podman:false} Containers:[]}"
beszel-agent | 2025/03/04 15:53:50 DEBUG Error getting docker stats err="Get \"http://localhost/containers/json\": dial unix /var/run/docker.sock: connect: permission denied"
beszel-agent | 2025/03/04 15:53:50 DEBUG Extra filesystems data=map[]
Description
Hi!
I have a rootless docker setup, but my user (pi) is in the docker group, so I can execute any docker command without sudo. However, I cannot see Docker charts.
Expected Behavior
I should see Docker charts.
Steps to Reproduce
I've installed beszel and beszel-agent with the docker-compose.yml examples from the website. I can succesfully connect to the dashboard and see my agent. However, I cannot see the Docker related charts.
When running the agent with log level debug I see this logs,
If I force docker.sock permissions (which not recommend) to 666, I get,
Furthermore, I tried
docker statsand wasn't showing either MEM or CPU, so I've followed the guide mentioned in the docs, added those params to cmdline.txt, rebooted, and memory is now showing, but CPU is still zero for all containers. When runningdocker infoI still get,OS / Architecture
Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
Beszel version
0.9.1
Installation method
Docker
Configuration
Hub Logs
Agent Logs