Please provide the following info (tick the boxes after creating this topic): Software Version
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
1.9.3.10904
other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
I am trying to run Docker Services | NVIDIA Docs example on my Drive Orin. While running locally, it’s working but while running on Docker, getting the below error.
sudo docker run --rm --runtime nvidia --gpus all -v $(pwd):$(pwd) -w $(pwd) ubuntu:20.04 ./deviceQuery
docker: Error response from daemon: unknown or invalid runtime name: nvidia.
See ‘docker run --help’.
While running sudo apt-get remove nvidia-container-runtime , we are getting
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ‘nvidia-container-runtime’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
libnvidia-container-tools libnvidia-container0 libnvidia-container1
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
And while sudo apt-get install nvidia-container-runtime,
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package nvidia-container-runtime is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
nvidia-container-toolkit
E: Package ‘nvidia-container-runtime’ has no installation candidate
So, I tried this sudo apt-get install nvidia-container-toolkit
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package nvidia-container-toolkit is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘nvidia-container-toolkit’ has no installation candidate
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package nvidia-container-toolkit is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘nvidia-container-toolkit’ has no installation candidate
Please follow the ‘DRIVE OS 6.0.8.1 Installation Guide for NVIDIA Developers’ to upgrade to the latest version, and see if you still encounter this issue. If the problem persists after the upgrade, feel free to reach out for further assistance.
We haven’t come across any reports of developers facing this issue. To help diagnose the problem, I just reinstalled my system with 6.0.6 and executed the following commands (from the document) without any problems:
cd /usr/local/cuda-11.4/samples/1_Utilities/deviceQuery/ && sudo make
sudo docker run --rm --runtime nvidia --gpus all -v $(pwd):$(pwd) -w $(pwd) ubuntu:20.04 ./deviceQuery