Skip to content

Setting up nvidia drivers to work with docker container #270

@ajlee21

Description

@ajlee21

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions