Unable to install nvidia docker on ubuntu 21.04

Hello Everyone! I am trying to use my RTX 3070 Max-Q mobile GPU with nvidia Docker on Ubuntu 21.04, but following this installation guide I have compatibility problems.

Install guide nvidia docker

‘# Unsupported distribution!’
‘# Check https://nvidia.github.io/nvidia-docker

when will it be available?

Thanks, Ricardo

It really worked for me, but with the nvidia docker version for ubuntu 18.05. I added this lines on /etc/apt/sources.list.d/nvidia-docker.list

deb https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64 /
deb https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 /
deb https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 /


sudo apt-get update
sudo apt-get install -y nvidia-docker2

and Done! Thanks

1 Like

I am assuming youre adding these lines to the command written in the nvidia install guide [Installation Guide — NVIDIA Cloud Native Technologies documentation]
Could you write the full exact command I have to enter because I have the exact same issue and I have almost no experience using ubuntu

change the part “$distribution/”, at the command line written in Installation Guide, to ubuntu18.04/ and precede with update and install nvidia-docker2