Looks like youre trying to use nvidia/cuda, which is x86_64 (amd64), where as the Jetson is arm64. There isnvidia/cuda-arm64, but if I remember correctly, thats built using CUDA Toolkit 11.0, and when trying to create a container with it, itll throw an error saying that the Toolkit 10.2 that the Jetson has isnt compatible.
I’m still puzzled as to what’s causing the error. Any idea on what might be causing it?
Not sure if this is going to give you a clue of what’s going on, but thought it might help.
nvidia@x02:~$ nvidia-container-cli -k -d /dev/tty info
-- WARNING, the following logs are for debugging purposes only --
I0810 16:31:13.700287 4534 nvc.c:282] initializing library context (version=1.2.0, build=d22237acaea94aa5ad5de70aac903534ed598819)
I0810 16:31:13.700480 4534 nvc.c:256] using root /
I0810 16:31:13.700542 4534 nvc.c:257] using ldcache /etc/ld.so.cache
I0810 16:31:13.700567 4534 nvc.c:258] using unprivileged user 1000:1000
I0810 16:31:13.700852 4534 nvc.c:299] attempting to load dxcore to see if we are running under Windows Subsystem for Linux (WSL)
I0810 16:31:13.701280 4534 nvc.c:301] dxcore initialization failed, continuing assuming a non-WSL environment
W0810 16:31:13.702186 4534 nvc.c:172] failed to detect NVIDIA devices
W0810 16:31:13.703118 4535 nvc.c:187] failed to set inheritable capabilities
W0810 16:31:13.703366 4535 nvc.c:188] skipping kernel modules load due to failure
I0810 16:31:13.704372 4536 driver.c:101] starting driver service
E0810 16:31:13.705560 4536 driver.c:161] could not start driver service: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory
I0810 16:31:13.705991 4534 driver.c:196] driver service terminated successfully
nvidia-container-cli: initialization error: driver error: failed to process request
It seems that L4T-base only has Linux/AMD64 variant for the R32.3.1 version based on this link (https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base/tags). Probably that’s why it doesn’t work on Xavier because it has an ARM64 architecture. The latest one, R32.4.3, has the Linux/ARM64 variant, but I’ll have to reflash my Xavier and lose all the files currently installed.