- Jetson Linux 35.4.1, on Xavier AGX industrial
we are trying to run nvidia-docker (docker with nvidia runtime) on a Jetson Xavier, but are failing with this error message:
“docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: requirement error: unsatisfied condition: cuda>=11.5, please update your driver to a newer version, or use an earlier cuda container: unknown.”
The Docker image is based on “nvidia/cuda:11.5.2-cudnn8-devel-ubuntu20.04”. The image was built on a x86 host using qemu.
Since CUDA 11.4 is default on the BSP, we upgraded CUDA on the Jetson by following this guide:
And the app note here: CUDA for Tegra
We set LD_LIBRARY_PATH=/usr/local/cuda-12.2/compat and did a test and compiled the deviceQuery example and this gives (only showing the first lines of the output):
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: “Xavier”
CUDA Driver Version / Runtime Version 12.2 / 12.2
CUDA Capability Major/Minor version number: 7.2
So it looks like the CUDA-driver has been upgraded, but we are still not able to run Docker. Any hints on why this happen? We are using the same LD_LIBRARY_PATH
as when starting deviceQuery, but not sure if Docker is able to pick up the cuda version from there.
Simplifying CUDA Upgrades for NVIDIA Jetson Users | NVIDIA Technical Blog
With CUDA Toolkit 11.8 and NVIDIA JetPack 5.0, you can upgrade to the latest CUDA release without updating NVIDIA JetPack or Jetson Linux BSP software.
All help is deeply appreciated.