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

ubuntu-latest-full with docker stat support #2674

Open
itsgiff opened this issue Feb 7, 2024 · 1 comment
Open

ubuntu-latest-full with docker stat support #2674

itsgiff opened this issue Feb 7, 2024 · 1 comment

Comments

@itsgiff
Copy link

itsgiff commented Feb 7, 2024

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants