nicolargo / glances

Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
http://nicolargo.github.io/glances/
Other
26.25k stars 1.49k forks source link

ubuntu-latest-full with docker stat support #2674

Open itsgiff opened 7 months ago

itsgiff commented 7 months ago

Is it possible for the ubuntu-latest-full image to support docker stats?

I am running Ollama in a container and would really like to be able to see both the Docker container stats and the GPU stats simultaneously.

RazCrimson commented 4 months ago

You should already be able to do it?

Just make sure all prerequisites mentioned here are met: https://docs.docker.com/config/containers/resource_constraints/#gpu

Use a docker run command as follows:

docker run --rm -e TZ="${TZ}" -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --gpus all --pid host --network host -it nicolargo/glances:ubuntu-latest-full
github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 3 months with no activity.