Error running GPU enabled docker containers

Hello,

I use NVIDIA Jetson Xavier AGX - Ubuntu 18.04 - Docker containers-Jetpack 4.4.1
I pull the docker images from the docker hub,
I try to run the image using $docker run

I get the following error.

docker: error response from daemon: oci runtime create failed: container_linux.go:349: starting container process caused “process_linux.go:449: container init caused “process_linux.go:432: running prestart hook 1 caused \“error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --compat32 --graphics --utility --video --display --pid=28022 /var/lib/docker/overlay2/c68559f41e19ff6ef636c4055a94531e5a642ae3b9e25ca86db007443567074f/merged]\\nnvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/c68559f41e19ff6ef636c4055a94531e5a642ae3b9e25ca86db007443567074f/merged/usr/lib/aarch64-linux-gnu/libnvidia-fatbinaryloader.so.440.18: file exists\\n\”””: unknown. erro[0002] error waiting for container: context canceled

I could not completely understand and correct the error. Please help!

Thank you

Hi,

Which container do you use?
Please noted you will need an l4t docker with the same JetPack version for Jetson.

https://ngc.nvidia.com/catalog/containers?orderBy=scoreDESC&pageNumber=0&query=l4t&quickFilter=&filters=

Thanks.