Environment
- OS: Debian 13
- cgroups: v2 (cgroup2fs)
- Docker version: 29.2.1, build a5c7197
- Scaphandre version: 1.0.2
Problem
With scaphandre json --containers -f output.json, all consumers have container: null in the JSON output. The same workflow worked on Debian 12.
Cgroup path example
Container processes have cgroup paths like:
0::/system.slice/docker-cb6970b7e0a606b4d7d25f4f0ef37a51efcd99a57c56d95c0a70bf645151bcd8.scope
Steps to reproduce
- Run a Docker container:
docker run -d --name test-container
- Run Scaphandre:
sudo scaphandre json --containers -f output.json (let it run a few seconds, then Ctrl+C)
- Inspect output:
jq '.[0].consumers[:3]' output.json
- Observe: all consumers have
"container": null
Related
Environment
Problem
With
scaphandre json --containers -f output.json, all consumers havecontainer: nullin the JSON output. The same workflow worked on Debian 12.Cgroup path example
Container processes have cgroup paths like:
0::/system.slice/docker-cb6970b7e0a606b4d7d25f4f0ef37a51efcd99a57c56d95c0a70bf645151bcd8.scope
Steps to reproduce
docker run -d --name test-containersudo scaphandre json --containers -f output.json(let it run a few seconds, then Ctrl+C)jq '.[0].consumers[:3]' output.json"container": nullRelated