nvida docker 使用
https://github.com/NVIDIA/nvidia-docker/wiki/nvidia-docker-plugin#usage
https://github.com/NVIDIA/nvidia-docker/issues/325
https://github.com/NVIDIA/nvidia-docker/issues/325
https://blog.csdn.net/cvmat/article/details/79589824
nvidia-docker pull nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
docker commit cb439fb2c714 mxnet/python:gpu
root@nv-deeplearning:/media/nv/7174c323-375e-4334-b15e-019bd2c8af08/TFobjectDetection# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
kinfu latest ccd4af0db9f5 About a minute ago 14.2GB
nvidia/cuda 9.0-cudnn7-devel-ubuntu16.04 65dee97b9662 12 days ago 2.74GB
nvidia/cuda 9.2-cudnn7-runtime-ubuntu16.04 05f70023ad92 12 days ago 1.3GB
root@nv-deeplearning:/media/nv/7174c323-375e-4334-b15e-019bd2c8af08/TFobjectDetection# docker run -ti kinfu /bin/bash
REPOSITORY TAG IMAGE ID CREATED SIZE
kinfu latest ccd4af0db9f5 About a minute ago 14.2GB
nvidia/cuda 9.0-cudnn7-devel-ubuntu16.04 65dee97b9662 12 days ago 2.74GB
nvidia/cuda 9.2-cudnn7-runtime-ubuntu16.04 05f70023ad92 12 days ago 1.3GB
root@nv-deeplearning:/media/nv/7174c323-375e-4334-b15e-019bd2c8af08/TFobjectDetection# docker run -ti kinfu /bin/bash
$ ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/libcuda.so $ ldconfig
$ ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/libcuda.so $ ldconfig
nvidia docker 安装