Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up nvidia drivers to work with docker container #270

Open
ajlee21 opened this issue Jun 14, 2024 · 1 comment
Open

Setting up nvidia drivers to work with docker container #270

ajlee21 opened this issue Jun 14, 2024 · 1 comment

Comments

@ajlee21
Copy link

ajlee21 commented Jun 14, 2024

I followed the instructions to setup the NVIDIA drivers but got the following errors:

https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html

Running: curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \ && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \ sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \ sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

Output:
deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://nvidia.github.io/libnvidia-container/stable/deb/$(ARCH) /

Running sudo apt-get update

Output:
: ERR_ACCESS_DENIED 0 Vary: Accept-Language Content-Language: en X-Cache: MISS from squid-deb-proxy X-Cache-Lookup: NONE from squid-deb-proxy:8000 Via: 1.1 squid-deb-proxy (squid/5.7) Connection: ke Hit:7 http://xxx-apt-prod.s3.amazonaws.com/ubuntu focal/amd64/ InRelease Get:8 http://xxx.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Hit:9 http://xxx-apt-prod.s3.amazonaws.com/ubuntu focal/all/ InRelease Get:10 http://xxx.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Get:11 http://xxx.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3359 kB] Get:12 http://xxx.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2979 kB] Get:13 http://xxx.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1194 kB]okup: NONE from squid-deb-proxy:8000 Via: 1.1 squid-deb-proxy (squid/5.7) Connection: keep-alive [IP: 10.0.3.1 8000] W: Some index files failed to download. They have been ignored, or old ones used instead.

@elezar
Copy link
Member

elezar commented Aug 1, 2024

@ajlee21 you seem to be using a proxy to download your release files and the error message does not seem to mention the NVIDIA Container Toolkit packages. Could you remove the /etc/apt/sources.list.d/nvidia-container-toolkit.list file and confirm that the sudo apt-get update command functions as expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants