No info about containers resource usage #2723
Answered
by
RazCrimson
the-night-wing
asked this question in
Q&A
-
Hello, for some reason containers sections does not show the resource usage per container, disk usage is NaNb, mem is ?, and CPU is 0, any ideas what can be the reason? Tasks section works fine:
Glances are deployed through docker compose file, the config is below: glances:
image: nicolargo/glances:latest-alpine
# container_name: glances
restart: always
pid: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock
labels:
traefik.enable: true
traefik.http.routers.glances.rule: Host(`glances.${DOMAIN?err}`)
traefik.http.routers.glances.middlewares: admin-secured
traefik.http.routers.glances.entrypoints: https
traefik.http.routers.glances.tls.certResolver: 'default'
traefik.http.services.glances.loadbalancer.server.port: 61208
environment:
- "GLANCES_OPT=-w"
networks:
- default On another machine it works fine with the same compose config, though OS there on that one is Alpine Linux 3.13.5 64bit / Linux 4.18.0-348.7.1.el8_5.x86_64 |
Beta Was this translation helpful? Give feedback.
Answered by
RazCrimson
May 9, 2024
Replies: 1 comment 3 replies
-
@the-night-wing You can get a shell inside the container with |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@the-night-wing
Could you please upgrade the glances container image?
Use
nicolargo/glances:latest-full
instead ofnicolargo/glances:latest-alpine
. Glanceslatest-full
tag now defaults to alpine.Please try out the newer image and let me know if the issue still persists.