安装docker-ce
参考这篇博文:
https://www.cnblogs.com/TsingJyujing/p/7908520.html
!注意:如果是linux mint的发行版本号与ubuntu不同,所以需要把$(lsb_release -cs) 改为xenial
安装nvidia-docker(解决方法在最后面)
https://github.com/NVIDIA/nvidia-docker
这是官方文档
## If you have nvidia-docker 1.0 installed: we need to remove it and all existing GPU containers If you have nvidia-docker 1.0 installed: we ne
docker volume ls -q -f driver=nvidia-docker | xargs -r -I{} -n1 docker ps -q -a -f volume={} | xargs -r docker rm -f
sudo apt-get purge -y nvidia-do