nvidia / cuda - Hash Sum不匹配

时间:2018-03-09 13:58:55

标签: docker cuda nvidia

我尝试根据Docker制作nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04图片。但我在Hash Sum mismatch

中执行apt-get update时出现Dockerfile错误

Dockerfile

FROM nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04
RUN apt-get update

构建命令

docker build .

错误日志

Step 2/2 : RUN apt-get update
 ---> Running in fb1798cf90e6
...
Get:18 http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64  Packages [17.9 kB]
Err:18 http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64  Packages
  Hash Sum mismatch
...

Fetched 25.1 MB in 5s (4750 kB/s)
Reading package lists...
E: Failed to fetch http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/Packages.gz  Hash Sum mismatch
The command '/bin/sh -c apt-get update' returned a non-zero code: 100

我猜这个错误来自NVIDIA存储库,而不是来自我这边。

忽略此哈希值检查的任何解决方案/解决方法?

1 个答案:

答案 0 :(得分:-1)

现在可行。

解决方案是:等待。

It seems这是与CDN相关且针对特定地区的问题。