我尝试根据Docker
制作nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04
图片。但我在Hash Sum mismatch
apt-get update
时出现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存储库,而不是来自我这边。
忽略此哈希值检查的任何解决方案/解决方法?