nokia / nokia/srlinux-container-image
SRL Container not showing any resource usage on `docker stats`
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 101
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm currently stuck trying to figure out how I can get resource use statistics from an SRL container. On my host, every other docker container returns stats to both the docker stats command and the stats endpoint on the engine API however the SRL container always returns 0s across the board, even for the timestamp on the stats api request. Do any of you know what would be causing this or how I can work around it? Are you doing anything particularly unusual with cgroups inside the docker container?
I'm happy to provide any logs needed, just not quite sure what that'd be yet.
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the SRL container behavior with docker stats and the Docker Engine stats endpoint, comparing their output with another container on the same host. Then inspect the container's cgroup behavior and gather the requested logs; done means identifying why all reported values, including the stats timestamp, are zero or documenting a verified workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100