yahoojapan / gpu-monitoring-exporter

Prometheus exporter for GPU process metrics.
MIT License
26 stars 8 forks source link

Dockerfile error #1

Closed ops-jaeha closed 1 year ago

ops-jaeha commented 1 year ago

I executed the docker-compose up command, and the following error occurred.

 > [2/5] RUN apt-get update     && apt-get install wget ca-certificate -y     && wget -qO- https://get.docker.com | sh     && apt-get clean     && rm -rf /var/lib/apt/lists/*:
#0 0.447 Ign:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease                                                                           
#0 0.627 Err:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  Release                                                                             
#0 0.627   Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: xxx.xxx.xx.xxx 443]                                                                                                                                                          
#0 0.713 Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
#0 1.051 Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
#0 1.292 Get:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
#0 1.763 Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2590 kB]
#0 2.353 Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
#0 2.793 Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3069 kB]
#0 3.003 Get:9 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [28.5 kB]
#0 3.004 Get:10 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1028 kB]
#0 3.062 Get:11 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [2060 kB]
#0 3.994 Get:12 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [31.2 kB]
#0 3.996 Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1324 kB]
#0 4.121 Get:14 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2198 kB]
#0 4.290 Get:15 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]
#0 4.291 Get:16 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
#0 4.424 Reading package lists...
#0 4.910 W: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/InRelease: No system certificates available. Try installing ca-certificates.
#0 4.910 W: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/Release: No system certificates available. Try installing ca-certificates.
#0 4.910 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  Release' no longer has a Release file.
------
Dockerfile:3
--------------------
   2 |     
   3 | >>> RUN apt-get update \
   4 | >>>     && apt-get install wget ca-certificate -y \
   5 | >>>     && wget -qO- https://get.docker.com | sh \
   6 | >>>     && apt-get clean \
   7 | >>>     && rm -rf /var/lib/apt/lists/*
   8 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update     && apt-get install wget ca-certificate -y     && wget -qO- https://get.docker.com | sh     && apt-get clean     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
ERROR: Service 'nvidia-smi-exporter' failed to build : Build failed
yhino commented 1 year ago

@cv-jaeha Thank you for reporting the problem. This issue was resolved https://github.com/yahoojapan/gpu-monitoring-exporter/pull/2.

Please try it.

yhino commented 1 year ago

I think this issue has been resolved, so I will close it. If it has not been resolved, please reopen.