Re:Nvidia-Docker: Build and Run Docker Containers Leveraging...
by flx42_ on Friday May 20, 2016 @01:03PM
(#11739499)
We are only wrapping the Docker CLI, not forking the full code (that would be insane). The wrapper is provided for convenience since it should be enough for most users. If you know what you're doing, you don't need to rely on the wrapper, we explain how you can do that on our wiki:
https://github.com/NVIDIA/nvidia-docker/wiki/Internals
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.
Re:Nvidia-Docker: Build and Run Docker Containers Leveraging...
by shykes on Friday May 20, 2016 @06:46PM
(#11742132)
This is a fantastic use case, we (Docker) would love to help in any way we can to make this usable by all Docker users.
Let us know if there's anything more we can to help.
Re:Nvidia-Docker: Build and Run Docker Containers Leveraging...
by andrewstuart2 on Friday May 20, 2016 @01:04PM
(#11739511)
> However, this solution was brittle: the version of the host driver had to exactly match driver version installed in the container.
I'm curious why volume mounting is not an option here. Seems like you'd just ship driverless containers, forcing the user to mount the host drivers before allowing the container to run.
Re:Nvidia-Docker: Build and Run Docker Containers Leveraging...
by flx42_ on Friday May 20, 2016 @01:08PM
(#11739549)
That's exactly what we do, the image is indeed driverless and we mount the host driver files as a volume (provided by our volume plugin) when the container is launched.
This way, you can launch a CUDA 7.5 container on any machine with driver version 352+
We provide more details here: https://github.com/NVIDIA/nvidia-docker/wiki/NVIDIA-driver Hope that helps!
(Disclaimer: I work at Docker, but not on the core team)