美文网首页
安装docker以及nvidia-docker

安装docker以及nvidia-docker

作者: zhenggeaza | 来源:发表于2017-12-21 17:20 被阅读0次

    install Docker CE

    1、Go to https://download.docker.com/linux/ubuntu/dists/ , choose your Ubuntu version, browse topool/stable/and chooseamd64,armhf,ppc64el, ors390x. Download the.debfile for the Docker version you want to install.

    sudo dpkg -i /path/to/package.deb

    2、sudo docker run hello-world

    Install nvidia-docker and nvidia-docker-plugin

    1、wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb

    2、sudo dpkg -i /tmp/nvidia-docker*.deb && rm /tmp/nvidia-docker*.deb

    3、# Test nvidia-smi 验证是否安装成功

    nvidia-docker run --rm nvidia/cuda nvidia-smi

    相关文章

      网友评论

          本文标题:安装docker以及nvidia-docker

          本文链接:https://www.haomeiwen.com/subject/kpwawxtx.html