Skip to content

Cannot determine memory stats for container ('stats') #184

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

Open
traysh opened this issue Feb 17, 2025 · 0 comments · May be fixed by #185
Open

Cannot determine memory stats for container ('stats') #184

traysh opened this issue Feb 17, 2025 · 0 comments · May be fixed by #185

Comments

@traysh
Copy link

traysh commented Feb 17, 2025

I'm running podman instead of docker and all works well, except for the memory information for the containers.

Looking at the logs, I see:

ERROR (MainThread) [custom_components.monitor_docker.helpers] [Docker] homeassistant: Cannot determine memory usage for container ('stats')
ERROR (MainThread) [custom_components.monitor_docker.helpers] [Docker] homeassistant: Raw 'memory_stats' {'usage': 392056832, 'limit': 8328462336}

I understand podman is not the focus of this project, but maybe it's an easy fix? =)

traysh added a commit to traysh/monitor_docker that referenced this issue Feb 17, 2025
…ats"

"stats" is not present in "memory_stats" when using podman instead of docker, breaking the memory calculations. Everything else works fine.

this PR fixes ualex73#184
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant