Cannot run zed docker image on Jetson Orin

Hi,

I want to use zed2i camera on Jetson Orin.
I tried to pull ZED docker image and run, but it failed.

  • docker pull
docker pull stereolabs/zed:3.7-tools-devel-jetson-jp5.0.2
  • docker run with error message
$ docker run --gpus all -it --privileged stereolabs/zed:3.7-tools-devel-jetson-jp5.0.2
docker: Error response from daemon: 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: src: /etc/vulkan/icd.d/nvidia_icd.json, src_lnk: /usr/lib/aarch64-linux-gnu/tegra/nvidia_icd.json, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/etc/vulkan/icd.d/nvidia_icd.json, dst_lnk: /usr/lib/aarch64-linux-gnu/tegra/nvidia_icd.json
src: /usr/lib/aarch64-linux-gnu/libcuda.so, src_lnk: tegra/libcuda.so, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/libcuda.so, dst_lnk: tegra/libcuda.so
src: /usr/lib/aarch64-linux-gnu/libnvcucompat.so, src_lnk: tegra/libnvcucompat.so, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/libnvcucompat.so, dst_lnk: tegra/libnvcucompat.so
src: /usr/lib/aarch64-linux-gnu/libnvidia-nvvm.so, src_lnk: tegra/libnvidia-nvvm.so, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/libnvidia-nvvm.so, dst_lnk: tegra/libnvidia-nvvm.so
src: /usr/lib/aarch64-linux-gnu/libv4l2.so.0.0.999999, src_lnk: tegra/libnvv4l2.so, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/libv4l2.so.0.0.999999, dst_lnk: tegra/libnvv4l2.so
src: /usr/lib/aarch64-linux-gnu/libv4lconvert.so.0.0.999999, src_lnk: tegra/libnvv4lconvert.so, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/libv4lconvert.so.0.0.999999, dst_lnk: tegra/libnvv4lconvert.so
src: /usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvargus.so, src_lnk: ../../../tegra/libv4l2_nvargus.so, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvargus.so, dst_lnk: ../../../tegra/libv4l2_nvargus.so
src: /usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvcuvidvideocodec.so, src_lnk: ../../../tegra/libv4l2_nvcuvidvideocodec.so, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvcuvidvideocodec.so, dst_lnk: ../../../tegra/libv4l2_nvcuvidvideocodec.so
src: /usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvvideocodec.so, src_lnk: ../../../tegra/libv4l2_nvvideocodec.so, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvvideocodec.so, dst_lnk: ../../../tegra/libv4l2_nvvideocodec.so
src: /usr/lib/aarch64-linux-gnu/libvulkan.so.1.3.203, src_lnk: tegra/libvulkan.so.1.3.203, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/libvulkan.so.1.3.203, dst_lnk: tegra/libvulkan.so.1.3.203
src: /usr/lib/aarch64-linux-gnu/tegra/libcuda.so, src_lnk: libcuda.so.1.1, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libcuda.so, dst_lnk: libcuda.so.1.1
src: /usr/lib/aarch64-linux-gnu/tegra/libgstnvdsseimeta.so, src_lnk: libgstnvdsseimeta.so.1.0.0, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libgstnvdsseimeta.so, dst_lnk: libgstnvdsseimeta.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so, src_lnk: libnvbufsurface.so.1.0.0, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so, dst_lnk: libnvbufsurface.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurftransform.so, src_lnk: libnvbufsurftransform.so.1.0.0, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvbufsurftransform.so, dst_lnk: libnvbufsurftransform.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvbuf_utils.so, src_lnk: libnvbuf_utils.so.1.0.0, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvbuf_utils.so, dst_lnk: libnvbuf_utils.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvdsbufferpool.so, src_lnk: libnvdsbufferpool.so.1.0.0, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvdsbufferpool.so, dst_lnk: libnvdsbufferpool.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so, src_lnk: libnvidia-nvvm.so.4, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so, dst_lnk: libnvidia-nvvm.so.4
src: /usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so.4, src_lnk: libnvidia-nvvm.so.4.0.0, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so.4, dst_lnk: libnvidia-nvvm.so.4.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvid_mapper.so, src_lnk: libnvid_mapper.so.1.0.0, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvid_mapper.so, dst_lnk: libnvid_mapper.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscibuf.so, src_lnk: libnvscibuf.so.1, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscibuf.so, dst_lnk: libnvscibuf.so.1
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscicommon.so, src_lnk: libnvscicommon.so.1, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscicommon.so, dst_lnk: libnvscicommon.so.1
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscistream.so, src_lnk: libnvscistream.so.1, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscistream.so, dst_lnk: libnvscistream.so.1
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscisync.so, src_lnk: libnvscisync.so.1, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscisync.so, dst_lnk: libnvscisync.so.1
src: /usr/share/glvnd/egl_vendor.d/10_nvidia.json, src_lnk: ../../../lib/aarch64-linux-gnu/tegra-egl/nvidia.json, dst: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/usr/share/glvnd/egl_vendor.d/10_nvidia.json, dst_lnk: ../../../lib/aarch64-linux-gnu/tegra-egl/nvidia.json
, stderr: nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/9ea4fb0efacae9a785c3f41c0935533b3cdbeee2d009a0ff2fab19f3f7ca8371/merged/dev/nvhost-as-gpu: invalid argument: unknown.
ERRO[0000] error waiting for container: context canceled 

Software setup

$ jetson_release -v
 - NVIDIA Jetson UNKNOWN
   * Jetpack UNKNOWN [L4T 34.1.1]
   * NV Power Mode: MAXN - Type: 0
   * jetson_stats.service: active
 - Board info:
   * Type: UNKNOWN
   * SOC Family: tegra23x - ID:
   * Module: UNKNOWN - Board: P3737-000
   * Code Name: concord
   * CUDA GPU architecture (ARCH_BIN): NONE
   * Serial Number: 1421622124011
 - Libraries:
   * CUDA: NOT_INSTALLED
   * cuDNN: 8.3.2.49
   * TensorRT: 8.4.0.11
   * Visionworks: NOT_INSTALLED
   * OpenCV: 4.5.4 compiled CUDA: NO
   * VPI: ii libnvvpi2 2.0.14 arm64 NVIDIA Vision Programming Interface library
   * Vulkan: 1.3.203
 - jetson-stats:
   * Version 3.1.4
   * Works on Python 3.8.10
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_May__4_00:02:26_PDT_2022
Cuda compilation tools, release 11.4, V11.4.239
Build cuda_11.4.r11.4/compiler.31294910_0
$ sudo dpkg --get-selections | grep nvidia
libnvidia-container-tools			install
libnvidia-container0:arm64			install
libnvidia-container1:arm64			install
nvidia-container				install
nvidia-container-runtime			install
nvidia-container-toolkit			install
nvidia-container-toolkit-base			deinstall
nvidia-cuda-dev					install
nvidia-cuda-runtime				install
nvidia-cudnn8-dev				install
nvidia-cudnn8-runtime				install
nvidia-docker2					install
nvidia-jetpack					install
nvidia-jetpack-dev				install
nvidia-jetpack-runtime				install
nvidia-l4t-3d-core				install
nvidia-l4t-apt-source				install
nvidia-l4t-bootloader				install
nvidia-l4t-camera				install
nvidia-l4t-configs				install
nvidia-l4t-core					install
nvidia-l4t-cuda					install
nvidia-l4t-display-kernel			install
nvidia-l4t-firmware				install
nvidia-l4t-gputools				install
nvidia-l4t-graphics-demos			install
nvidia-l4t-gstreamer				install
nvidia-l4t-init					install
nvidia-l4t-initrd				install
nvidia-l4t-jetson-io				install
nvidia-l4t-jetson-multimedia-api		install
nvidia-l4t-kernel				install
nvidia-l4t-kernel-dtbs				install
nvidia-l4t-kernel-headers			install
nvidia-l4t-libvulkan				install
nvidia-l4t-multimedia				install
nvidia-l4t-multimedia-utils			install
nvidia-l4t-nvfancontrol				install
nvidia-l4t-nvpmodel				install
nvidia-l4t-nvpmodel-gui-tools			install
nvidia-l4t-nvsci				install
nvidia-l4t-oem-config				install
nvidia-l4t-optee				install
nvidia-l4t-pva					install
nvidia-l4t-tools				install
nvidia-l4t-wayland				install
nvidia-l4t-weston				install
nvidia-l4t-x11					install
nvidia-l4t-xusb-firmware			install
nvidia-nsight-sys				install
nvidia-opencv-dev				install
nvidia-opencv-runtime				install
nvidia-tensorrt-dev				install
nvidia-tensorrt-runtime				install
nvidia-vpi-dev					install
nvidia-vpi-runtime				install
$ sudo dpkg --get-selections | grep docker
docker-ce					install
docker-ce-cli					install
docker-ce-rootless-extras			install
nvidia-docker2					install

I would appreciate it if you could tell me the cause and the solution.
Thank you in advance.

Hello,

Can you run this command with sudo ?

Antoine

Hello,

Thank you very much for your quick response.

I tried, but the same error occured again…

$ sudo docker run --gpus all -it --privileged stereolabs/zed:3.7-tools-devel-jetson-jp5.0.2
docker: Error response from daemon: 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: src: /etc/vulkan/icd.d/nvidia_icd.json, src_lnk: /usr/lib/aarch64-linux-gnu/tegra/nvidia_icd.json, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/etc/vulkan/icd.d/nvidia_icd.json, dst_lnk: /usr/lib/aarch64-linux-gnu/tegra/nvidia_icd.json
src: /usr/lib/aarch64-linux-gnu/libcuda.so, src_lnk: tegra/libcuda.so, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/libcuda.so, dst_lnk: tegra/libcuda.so
src: /usr/lib/aarch64-linux-gnu/libnvcucompat.so, src_lnk: tegra/libnvcucompat.so, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/libnvcucompat.so, dst_lnk: tegra/libnvcucompat.so
src: /usr/lib/aarch64-linux-gnu/libnvidia-nvvm.so, src_lnk: tegra/libnvidia-nvvm.so, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/libnvidia-nvvm.so, dst_lnk: tegra/libnvidia-nvvm.so
src: /usr/lib/aarch64-linux-gnu/libv4l2.so.0.0.999999, src_lnk: tegra/libnvv4l2.so, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/libv4l2.so.0.0.999999, dst_lnk: tegra/libnvv4l2.so
src: /usr/lib/aarch64-linux-gnu/libv4lconvert.so.0.0.999999, src_lnk: tegra/libnvv4lconvert.so, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/libv4lconvert.so.0.0.999999, dst_lnk: tegra/libnvv4lconvert.so
src: /usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvargus.so, src_lnk: ../../../tegra/libv4l2_nvargus.so, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvargus.so, dst_lnk: ../../../tegra/libv4l2_nvargus.so
src: /usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvcuvidvideocodec.so, src_lnk: ../../../tegra/libv4l2_nvcuvidvideocodec.so, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvcuvidvideocodec.so, dst_lnk: ../../../tegra/libv4l2_nvcuvidvideocodec.so
src: /usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvvideocodec.so, src_lnk: ../../../tegra/libv4l2_nvvideocodec.so, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/libv4l/plugins/nv/libv4l2_nvvideocodec.so, dst_lnk: ../../../tegra/libv4l2_nvvideocodec.so
src: /usr/lib/aarch64-linux-gnu/libvulkan.so.1.3.203, src_lnk: tegra/libvulkan.so.1.3.203, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/libvulkan.so.1.3.203, dst_lnk: tegra/libvulkan.so.1.3.203
src: /usr/lib/aarch64-linux-gnu/tegra/libcuda.so, src_lnk: libcuda.so.1.1, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libcuda.so, dst_lnk: libcuda.so.1.1
src: /usr/lib/aarch64-linux-gnu/tegra/libgstnvdsseimeta.so, src_lnk: libgstnvdsseimeta.so.1.0.0, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libgstnvdsseimeta.so, dst_lnk: libgstnvdsseimeta.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so, src_lnk: libnvbufsurface.so.1.0.0, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so, dst_lnk: libnvbufsurface.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurftransform.so, src_lnk: libnvbufsurftransform.so.1.0.0, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvbufsurftransform.so, dst_lnk: libnvbufsurftransform.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvbuf_utils.so, src_lnk: libnvbuf_utils.so.1.0.0, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvbuf_utils.so, dst_lnk: libnvbuf_utils.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvdsbufferpool.so, src_lnk: libnvdsbufferpool.so.1.0.0, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvdsbufferpool.so, dst_lnk: libnvdsbufferpool.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so, src_lnk: libnvidia-nvvm.so.4, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so, dst_lnk: libnvidia-nvvm.so.4
src: /usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so.4, src_lnk: libnvidia-nvvm.so.4.0.0, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvidia-nvvm.so.4, dst_lnk: libnvidia-nvvm.so.4.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvid_mapper.so, src_lnk: libnvid_mapper.so.1.0.0, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvid_mapper.so, dst_lnk: libnvid_mapper.so.1.0.0
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscibuf.so, src_lnk: libnvscibuf.so.1, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscibuf.so, dst_lnk: libnvscibuf.so.1
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscicommon.so, src_lnk: libnvscicommon.so.1, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscicommon.so, dst_lnk: libnvscicommon.so.1
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscistream.so, src_lnk: libnvscistream.so.1, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscistream.so, dst_lnk: libnvscistream.so.1
src: /usr/lib/aarch64-linux-gnu/tegra/libnvscisync.so, src_lnk: libnvscisync.so.1, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/lib/aarch64-linux-gnu/tegra/libnvscisync.so, dst_lnk: libnvscisync.so.1
src: /usr/share/glvnd/egl_vendor.d/10_nvidia.json, src_lnk: ../../../lib/aarch64-linux-gnu/tegra-egl/nvidia.json, dst: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/usr/share/glvnd/egl_vendor.d/10_nvidia.json, dst_lnk: ../../../lib/aarch64-linux-gnu/tegra-egl/nvidia.json
, stderr: nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/9c54aa08c763d57475a7984339e2277359455a2cc1ca7a3ccc8b377cb3a13093/merged/dev/nvhost-as-gpu: invalid argument: unknown.
ERRO[0000] error waiting for container: context canceled 

It seems that your docker installation does not work.

Please refer to Docker’s documentation, until you can run

docker run hello-world

Then, you’ll need the nvidia docker runtime. You might also need an additionnal env variable :
NVIDIA_DRIVER_CAPABILITIES=all

Then you’ll be good :slight_smile:

Antoine

Hi,

Thank you for your answer.
I tried docker run hello-world, and it worked fine.

And I found the solution,
I edited /etc/nvidia-container-runtime/host-files-for-container.d/l4t.csv to comment out the /dev/nvhost-as-gpu, then stereolabs/zed:3.7-tools-devel-jetson-jp5.0.2 image successfully activated.

2 Likes

Great ! Thank you for publishing the solution. It will surely help others.