docker build error
❓ Questions and Help
when I use docker to build get some warnings and errors. and stopped at Err:26 Writing more data than expected
commond:
nvidia-docker build -t maskrcnn-benchmark docker/
output:
Sending build context to Docker daemon 7.68kB Step 1/23 : ARG CUDA="9.0" Step 2/23 : ARG CUDNN="7" Step 3/23 : FROM nvidia/cuda:${CUDA}-cudnn${CUDNN}-devel-ubuntu16.04 9.0-cudnn7-devel-ubuntu16.04: Pulling from nvidia/cuda 34667c7e4631: Already exists d18d76a881a4: Already exists 119c7358fbfc: Already exists 2aaf13f3eff0: Already exists 4d96b2dafaa5: Already exists f8c41b380cab: Already exists d2c1b4858446: Already exists ba985066a7db: Pull complete 82635ec7e8dd: Pull complete a2b9b06a3798: Pull complete Digest: sha256:ed135594e92647ad5831d1f9ab3b2b3cd4c82eb8b2bdfb04dbe40eb21ace6e99 Status: Downloaded newer image for nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04 ---> 365b60829b2a Step 4/23 : RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections ---> Running in 549f037bba20 Removing intermediate container 549f037bba20 ---> a16873521ff2 Step 5/23 : RUN apt-get update -y && apt-get install -y apt-utils git curl ca-certificates bzip2 cmake tree htop bmon iotop g++ && apt-get install -y libglib2.0-0 libsm6 libxext6 libxrender-dev ---> Running in 7a357273a5e8 Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Get:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Get:3 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [816 kB] Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Get:6 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.7 kB] Get:7 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [552 kB] Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB] Get:9 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6121 B] Ign:10 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 InRelease Get:11 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB] Get:12 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB] Ign:13 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 InRelease Get:14 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Release [169 B] Get:15 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB] Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1224 kB] Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.1 kB] Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [964 kB] Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [19.1 kB] Get:20 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7942 B] Get:21 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8532 B] Get:22 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 Release [169 B] Get:23 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Release.gpg [169 B] Get:24 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 Release.gpg [169 B] Ign:24 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 Release.gpg Get:25 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages [197 kB] Get:26 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 Packages [40.4 kB] Ign:26 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 Packages Err:26 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 Packages Writing more data than expected (41923 > 40405) Fetched 16.0 MB in 8s (1844 kB/s) Reading package lists... W: GPG error: https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 Release: The following signatures were invalid: BADSIG F60F4B3D7FA2AF80 cudatools [email protected] W: The repository 'https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 Release' is not signed. E: Failed to fetch https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/Packages Writing more data than expected (41923 > 40405) E: Some index files failed to download. They have been ignored, or old ones used instead. The command '/bin/sh -c apt-get update -y && apt-get install -y apt-utils git curl ca-certificates bzip2 cmake tree htop bmon iotop g++ && apt-get install -y libglib2.0-0 libsm6 libxext6 libxrender-dev' returned a non-zero code: 100
Source: facebookresearch/maskrcnn-benchmark