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 Integration doesn't work with Podman #254

Closed
leruaa opened this issue Sep 23, 2022 · 3 comments
Closed

[Bug] Docker Integration doesn't work with Podman #254

leruaa opened this issue Sep 23, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@leruaa
Copy link

leruaa commented Sep 23, 2022

I've configured the docker integration for my services and I see the little green dot, but when I click on it, I have the following error:

Application error: a client-side exception has occurred (see the browser console for more information).

Looking at the browser console I see:

TypeError: Cannot read properties of undefined (reading 'rx_bytes')
    at D (index-f387f442492a0fa8.js:1:8855)
    at Eo (framework-b3ca2e9a9574e304.js:1:63191)
    at Pu (framework-b3ca2e9a9574e304.js:1:74879)
    at xi (framework-b3ca2e9a9574e304.js:1:121314)
    at bs (framework-b3ca2e9a9574e304.js:1:109367)
    at gs (framework-b3ca2e9a9574e304.js:1:109295)
    at vs (framework-b3ca2e9a9574e304.js:1:109158)
    at as (framework-b3ca2e9a9574e304.js:1:105938)
    at ls (framework-b3ca2e9a9574e304.js:1:104489)
    at S (framework-b3ca2e9a9574e304.js:1:138448)

I think the error is from there: https://github.com/benphelps/homepage/blob/0b43f83daabae5655c1c950377e37fd1ca3f0631/src/components/services/widgets/service/docker.jsx#L57

When I call the following API (corresponding to one of my services : /api/docker/stats/gitea/my-docker, I get that:

      "networks":{
         "network":{
            "rx_bytes":8465590,
            "rx_packets":0,
            "rx_errors":0,
            "rx_dropped":0,
            "tx_bytes":41127436,
            "tx_packets":0,
            "tx_errors":0,
            "tx_dropped":0
         }
      }

Looks like the network is expected to be eth0, but with Podman, it's network.

It would be great if we can support Podman :)

@benphelps
Copy link
Member

Thank you for the details, we'll get this fixed in the next release.

@benphelps benphelps self-assigned this Sep 29, 2022
@benphelps benphelps added the bug Something isn't working label Sep 29, 2022
@benphelps
Copy link
Member

This will be fixed once fe7fa5c goes out.

Copy link
Contributor

github-actions bot commented Feb 6, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants