Unable to Install Nvidia Docker

nvidia-docker2 is old version And from above messages they have other versions installed that conflict.

A example tutorial is here:

Basically install:
Ubuntu 20.04 LTS, The Lambda Stack…
Then:
sudo apt-get install -y docker.io nvidia-container-toolkit
sudo systemctl daemon-reload
sudo systemctl restart docker

And pull the images you want and run docker.

I hope that helps. It will depend on other package conflicts you may have installed on your machine.
And there are a few other ways to do this depending on the versions of docker installed.

Mark