Comment

Comment by ThePhysicist

Just for information, it's also possible to use NVIDIA GPUs inside Docker containers without using `nvidia-docker`:

https://stackoverflow.com/questions/25185405/using-gpu-from-...

In a nutshell, you can give the container access to the NVIDIA device file via the `--device` flag, so all you need is a container with the NVIDIA drivers. The added benefit of this is that you can use different versions of the drivers side-by-side (in my understanding).

I thought this might be relevant as some people might not want to use the `docker-nvidia` CLI to run containers (I'm not sure how you would use this via the Docker API for example).

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton