To not use the pre-bundled images or .deb-s.
- Checkout (
opencontainers/runc) from hash id’d fromnvidia-container-runtime/runtime/runcand thenvidia-container-runtime/runtime/Makefile. - Patch (runc) with patch from directory matching the commit hash.
- Build
runc, and cp/rename it tonvidia-container-runtime(needs BSD make:bmake). - cp (runc)
nvidia-container-runtime/usr/local/bin
- Merge (nvidia-docker)
docker/daemon.confwith system’s. - Copy
config.toml.debianto/etc/nvidia-container-runtime/config.toml - Build and cp (nvidia-container-runtime/hook/nvidia-container-runtime-hook/)
nvidia-container-runtime-hook/usr/local/bin
- Make install on
libnvidia-container(neededlibseccomp-dev)
My machine is too old for tensorflow/tensorflow:latest-gpu, :1.5.0-gpu appears to work. libtensorflow_framework.so hits
an illegal instruction on newer ones.