前提:安装nvidia-docker虚拟环境 1. nvidia-docker安装 2. 参考: 启用Docker虚拟机GPU,加速深度学习https://blog.csdn.net/mogoweb/article/details/80633235