NVIDIA / nvidia-docker

Build and run Docker containers leveraging NVIDIA GPUs
Apache License 2.0
17.17k stars 2.03k forks source link

I failed to install nvidia-docker on ubuntu20.04 #1713

Closed dongrixinyu closed 7 months ago

dongrixinyu commented 1 year ago

The template below is mostly useful for bug reports and support questions. Feel free to remove anything which doesn't apply to you and add more information where it makes sense.

Also, before reporting a new issue, please make sure that:


1. Issue or feature description


### 2. Steps to reproduce the issue
- os version: Ubuntu 20.04.3 LTS \n \l
- amd64

- `/etc/apt/sources.list.d/nvidia-container-toolkit.list`

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

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


- `/etc/hosts`

127.0.0.1 localhost 127.0.1.1 myhost

The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 185.199.111.153 nvidia.github.io



and then I get the error illustrated above.

So how to solve this bug?

### 3. Information to [attach](https://help.github.com/articles/file-attachments-on-issues-and-pull-requests/) (optional if deemed irrelevant)

 - [ ] Some nvidia-container information: `nvidia-container-cli -k -d /dev/tty info`
 - [ ] Kernel version from `uname -a`
 - [ ] Any relevant kernel output lines from `dmesg`
 - [ ] Driver information from `nvidia-smi -a`
 - [ ] Docker version from `docker version`
 - [ ] NVIDIA packages version from `dpkg -l '*nvidia*'` _or_ `rpm -qa '*nvidia*'`
 - [ ] NVIDIA container library version from `nvidia-container-cli -V`
 - [ ] NVIDIA container library logs (see [troubleshooting](https://github.com/NVIDIA/nvidia-docker/wiki/Troubleshooting))
 - [ ] Docker command, image and tag used
dfldylan commented 1 year ago

I have the same issue.

nowkillkennys commented 1 year ago

same

elezar commented 7 months ago

Hi. With the 1.14.0 release we have updated our package repositories to use a single deb repository for all supported distributions. Please follow the instructions here.

If you are still having problems, please open an issue against https://github.com/NVIDIA/nvidia-container-toolkit.