failed to build docker
See original GitHub issueWonderful repo !!! Thanks so much for the Alphafold2 Team. And I have a problem in building alphafold docker. Error information is shown below. It seems that the related cuda resource is not found. Thanks all.
$ docker build -f docker/Dockerfile -t alphafold .
Sending build context to Docker daemon 12.69MB
Step 1/19 : ARG CUDA=11.0
Step 2/19 : FROM nvidia/cuda:${CUDA}-base
---> 2ec708416bb8
Step 3/19 : ARG CUDA
---> Using cache
---> 076eace7d488
Step 4/19 : SHELL ["/bin/bash", "-c"]
---> Using cache
---> b57b88dc2b9a
Step 5/19 : RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential cmake cuda-command-line-tools-${CUDA/./-} git hmmer kalign tzdata wget && rm -rf /var/lib/apt/lists/*
---> Running in 52e953f25c2b
...
...
E: Failed to fetch https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64/by-hash/SHA256/27b2dbb347d54776dec155d98e1eefbde6c10a3fd1295007c3e836cfd9b98522 404 Not Found [IP: 58.205.210.80 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:16
Top Results From Across the Web
How to debug build failures - Docker Community Forums
I've written a guide on how to debug docker builds like that. In short, look at the container ID of the failed step,...
Read more >Docker : image build failed - Stack Overflow
Paths in a Dockerfile are always relative to the the context directory. The context directory is the positional argument passed to docker ......
Read more >Docker Build failed with exit code -1 · Issue #2004 - GitHub
Docker Build failed with exit code -1 At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.14\ContainerHandling\New-NavIm ...
Read more >Docker build failes with dockerfile created by VS
I have a brand new (untouched) WebApp project with docker support. The project builds and runs correctly when running through VS.
Read more >Failure when build docker image - PyTorch Forums
Are you seeing any errors in the build log file? The current error is only explaining that the docker container build failed due...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Alphafold2 Team Hello Alphafold2 Team, 1>I’m using docker build -f docker/Dockerfile -t alphafold. According to your method, ping developer.download.nvidia.com and the IP obtained by adding /etc/hosts still reports an error, and every time you ping developer. Download.nvidia.com gets different ips, please help,Thank you
docker build -f docker/Dockerfile -t alphafold . Sending build context to Docker daemon 13.04MB Step 1/19 : ARG CUDA=11.0 Step 2/19 : FROM nvidia/cuda:${CUDA}-base —> 2ec708416bb8 Step 3/19 : ARG CUDA —> Using cache —> a1f524bee0b4 Step 4/19 : SHELL [“/bin/bash”, “-c”] —> Using cache —> 09dc16b21719 Step 5/19 : RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential cmake cuda-command-line-tools-${CUDA/./-} git
hmmer kalign tzdata wget && rm -rf /var/lib/apt/lists/* —> Running in 2433b949ee79 Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Get:3 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB] Ign:2 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 InRelease Get:4 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Release [697 B] Get:5 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Release.gpg [836 B] Ign:6 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Packages Ign:6 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Packages Ign:6 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Packages Err:6 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Packages 404 Not Found [IP: 124.132.138.69 443] Get:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:8 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [782 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB] Get:10 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB] Get:11 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB] Get:12 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB] Get:13 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [930 kB] Get:14 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [27.6 kB] Get:15 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [368 kB] Get:16 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB] Get:17 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.0 kB] Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1367 kB] Get:19 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [416 kB] Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1053 kB] Get:21 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [2668 B] Get:22 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [6303 B] Fetched 18.4 MB in 1min 44s (176 kB/s) Reading package lists… E: Failed to fetch https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64/by-hash/SHA256/27b2dbb347d54776dec155d98e1eefbde6c10a3fd1295007c3e836cfd9b98522 404 Not Found [IP: 124.132.138.69 443]E: Some index files failed to download. They have been ignored, or old ones used instead.
[root@fat03 alphafold]# ping developer.download.nvidia.com PING developer.download.nvidia.com.zengslb.com (192.254.94.202) 56(84) bytes of data. 64 bytes from 192.254.94.202 (192.254.94.202): icmp_seq=1 ttl=53 time=46.0 ms 64 bytes from 192.254.94.202 (192.254.94.202): icmp_seq=2 ttl=53 time=45.7 ms 64 bytes from 192.254.94.202 (192.254.94.202): icmp_seq=3 ttl=53 time=45.9 ms ^C — developer.download.nvidia.com.zengslb.com ping statistics — 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 45.774/45.906/46.036/0.205 ms [root@fat03 alphafold]# vim /etc/hosts [root@fat03 alphafold]# ping developer.download.nvidia.com PING developer.download.nvidia.com.zengslb.com (45.43.32.210) 56(84) bytes of data. 64 bytes from 45.43.32.210 (45.43.32.210): icmp_seq=1 ttl=53 time=46.8 ms 64 bytes from 45.43.32.210 (45.43.32.210): icmp_seq=2 ttl=53 time=46.7 ms ^C — developer.download.nvidia.com.zengslb.com ping statistics — 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 46.759/46.786/46.813/0.027 ms [root@fat03 alphafold]# vim /etc/hosts [root@fat03 alphafold]# vim /etc/hosts [root@fat03 alphafold]# ping developer.download.nvidia.com PING developer.download.nvidia.com.zengslb.com (129.227.48.133) 56(84) bytes of data. 64 bytes from 129.227.48.133 (129.227.48.133): icmp_seq=1 ttl=45 time=72.4 ms 64 bytes from 129.227.48.133 (129.227.48.133): icmp_seq=2 ttl=45 time=73.6 ms
I use docker pull fanxuezhe/alphafold_test The download is also wrong [root@fat03 alphafold]# docker pull fanxuezhe/alphafold_test Using default tag: latest Error response from daemon: manifest for fanxuezhe/alphafold_test:latest not found: manifest unknown: manifest unknown
Try this: Modify the
Dockerfile
like this if you are in China:And you may also unable to access the github depository. So you can modify the website of
https://github.com/soedinglab/hh-suite.git
tohttps://github.com.cnpmjs.org/soedinglab/hh-suite.git