However, at this step: sudo apt-get install -y nvidia-docker2
I got the following error:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
** nvidia-docker2 : Depends: nvidia-container-toolkit (>= 1.8.0-1) but 1.7.0+dfsg-0lambda0.20.04.1 is to be installed**
E: Unable to correct problems, you have held broken packages.
I will see if I can get nvidia-docker2 working, I was able to get it to install and have the file /usr/bin/nvidia-container-runtime at the same time as having docker (like the tutorial) function at the same time. However, I just did that tonight and I have to test the ‘nvidia-docker2’ being functional.