Skip to content

Docker-monitoring not working #225

@7sedam7

Description

@7sedam7

i'm trying to use: https://tianji.dev/docs/install/docker-monitoring

I have podman, and have setup my volume this way:
-v /run/user/"$(id -u)/podman/podman.sock":/var/run/docker.sock

If i go into the container I can see:

/app/tianji # ls -la /var/run/docker.sock
srw-------    1 root     root             0 Sep 17 17:51 /var/run/docker.sock
/app/tianji # test -r /var/run/docker.sock && echo "readable" || echo "not readable"
readable
/app/tianji #

and if i try:
curl --unix-socket /var/run/docker.sock http://localhost/containers/json
i can see it returns all my containers, however, in the Tianji UI i don't see anything. I just ran a new Tianji, did not setup any websites etc, but i thought i will be able to see my containers metrics somewhere (under servers)...

There are no errors (nor anything about server monitoring)...

Can somebody please help 🙇

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions