前提・実現したいこと
こちらの方が作成してくれたdockerイメージのビルドを試みたのですが、下記のようにエラーが出てしまい、うまくいきません。
エラーが発生している理由と解決方法を知りたいです。
よろしくお願いします。。
発生している問題・エラーメッセージ
bash
1user1@dgx1:~/Projects/OpenPose/openpose-docker$ docker build -t openpose . 2Sending build context to Docker daemon 330.2kB 3Step 1/14 : FROM nvidia/cuda:10.0-cudnn7-devel 4 ---> 510a4b73cab1 5Step 2/14 : ENV DEBIAN_FRONTEND noninteractive 6 ---> Using cache 7 ---> 131aa5dda18b 8Step 3/14 : ENV NVIDIA_VISIBLE_DEVICES all 9 ---> Using cache 10 ---> 6adffbcc1a71 11Step 4/14 : ENV NVIDIA_DRIVER_CAPABILITIES video,compute,utility 12 ---> Using cache 13 ---> 21f6398b9cdd 14Step 5/14 : ENV CMAKE_VER="3.13.4" 15 ---> Using cache 16 ---> 2368efec345e 17Step 6/14 : RUN set -xe && apt-get update && apt-get install -y git sudo wget qtbase5-dev build-essential ffmpeg gdebi libopencv-dev 18 ---> Running in 387884e629ca 19+ apt-get update 20Err:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease 21 Could not connect to developer.download.nvidia.com:443 (152.199.39.144), connection timed out 22Err:2 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease 23 Unable to connect to developer.download.nvidia.com:https: 24Err:3 http://archive.ubuntu.com/ubuntu bionic InRelease 25 Could not connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.88.142), connection timed out 26Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease 27 Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out 28Err:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 29 Unable to connect to archive.ubuntu.com:http: 30Err:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 31 Unable to connect to archive.ubuntu.com:http: 32Reading package lists... 33W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.88.142), connection timed out 34W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Unable to connect to archive.ubuntu.com:http: 35W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to archive.ubuntu.com:http: 36W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out 37W: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/InRelease Could not connect to developer.download.nvidia.com:443 (152.199.39.144), connection timed out 38W: Failed to fetch https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/InRelease Unable to connect to developer.download.nvidia.com:https: 39W: Some index files failed to download. They have been ignored, or old ones used instead. 40+ apt-get install -y git sudo wget qtbase5-dev build-essential ffmpeg gdebi libopencv-dev 41Reading package lists... 42Building dependency tree... 43Reading state information... 44Package git is not available, but is referred to by another package. 45This may mean that the package is missing, has been obsoleted, or 46is only available from another source 47 48E: Package 'git' has no installation candidate 49E: Unable to locate package sudo 50E: Unable to locate package wget 51E: Unable to locate package qtbase5-dev 52E: Unable to locate package ffmpeg 53E: Unable to locate package gdebi 54E: Unable to locate package libopencv-dev 55The command '/bin/sh -c set -xe && apt-get update && apt-get install -y git sudo wget qtbase5-dev build-essential ffmpeg gdebi libopencv-dev' returned a non-zero code: 100
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/07/08 02:03
2021/07/08 02:19
2021/07/09 03:28
2021/07/09 05:31