68 karma · joined April 18, 2014
Curious to know, are you using docker today? If yes, is there anything missing to satisfy your security requirements?
> The added benefit of this is that you can use different versions of the drivers side-by-side (in my understanding).
No, you can only have one driver version, the one that correspond to the loaded kernel modules. Installing the driver inside a Docker image makes it non-portable.
https://github.com/tensorflow/tensorflow/blob/master/tensorf...
Edit: in other words, your Docker image doesn't depend on a specific driver version and can be ran on any machine with sufficient drivers. Driver files are mounted as a volume when starting the container.
It automatically discovers the devices and the right driver files on the host.
The main goal is compute (CUDA), but we also demonstrated how to run TF2 on Steam OS during our DockerCon 16 OpenForum presentation.
Nice job! :)
All the user-level driver-files required for execution are mounted when the container is started using a volume. This way you can deploy the same container on any machine with NVIDIA drivers installed.
We have more details on our wiki: https://github.com/NVIDIA/nvidia-docker/wiki/Internals
Concerning your last question: I don't have any information on this topic, but anyway it would not really impact nvidia-docker.
For distributed training (which Caffe doesn't actually support, not the official version), you would have to run one container per instance, but this is more a configuration problem at the framework level, than a Docker or nvidia-docker problem.
You can run multiple containers on the same GPU with nvidia-docker, it's exactly the same as running multiple processes (without Docker) on the same GPU.
We provide more details here: https://github.com/NVIDIA/nvidia-docker/wiki/NVIDIA-driver Hope that helps!
Yes, we have been discussing with a few people at Docker, I hope attending DockerCon and discussing with the team will help us move forward.
This section should also have plenty of information for you if your goal is to integrate GPU support in your own container tool.
Or if you think they are too old, you can rebuild them manually, it will still be easier than installing all the dependencies manually.
There is also an easier way of downloading cuDNN v2 (there is no such thing as cuDNN v6.5 by the way): https://github.com/NVIDIA/nvidia-docker/blob/master/ubuntu-1...