-1

尝试在实例上运行的 Amazon 深度学习 AMI中nvidia-docker使用命令sudo yum install nvidia-docker2(参考此处此处)进行安装时出现以下错误:p2.xlarge

Error: Package: nvidia-docker2-2.0.3-1.docker18.03.1.ce.amzn1.noarch (nvidia-docker)
           Requires: docker = 18.03.1ce
           Installed: docker-17.12.1ce-1.135.amzn1.x86_64 (@amzn-updates)
               docker = 17.12.1ce-1.135.amzn1
           Available: docker-17.03.2ce-1.59.amzn1.x86_64 (amzn-main)
               docker = 17.03.2ce-1.59.amzn1
           Available: docker-17.06.2ce-1.93.amzn1.x86_64 (amzn-updates)
               docker = 17.06.2ce-1.93.amzn1
           Available: docker-17.06.2ce-1.94.amzn1.x86_64 (amzn-updates)
               docker = 17.06.2ce-1.94.amzn1
           Available: docker-17.09.1ce-1.111.amzn1.x86_64 (amzn-updates)
               docker = 17.09.1ce-1.111.amzn1
           Available: docker-17.12.0ce-1.129.amzn1.x86_64 (amzn-updates)
               docker = 17.12.0ce-1.129.amzn1

有没有人遇到过这个错误?

4

1 回答 1

1

我们必须安装 nvidia-docker2

sudo yum install -y nvidia-docker2-2.0.3-1.docker17.12.1.ce.amzn1

而不仅仅是

sudo yum install -y nvidia-docker2

也许目前有一些版本不匹配。

于 2018-07-09T07:17:16.097 回答