I just use the image dustynv/jetson-inference:r32.6.1, which is built from nvidia:l4t-pytorch, to be my base image to build docker image. Hoever when the image built, I get into the container ans execute my python program, but got the following error:
import jetson.inference
File "/usr/lib/python3.6/dist-packages/jetson/inference/__init__.py", line 5, in <module>
import jetson.utils
File "/usr/lib/python3.6/dist-packages/jetson/utils/__init__.py", line 4, in <module>
from jetson_utils_python import *
ImportError: libnppicc.so.10: cannot open shared object file: No such file or directory
I guess this error persist when Cuda and other packages are not installed,
Can you please once confirm what version of CUDA, CUDNN, and TensorRT are you using or whether is it installed on your jetson device. basically when you flash SD card using Jetpack it comes preloaded.
once can you please refer this as well NVIDIA Container Runtime on Jetson · NVIDIA/nvidia-docker Wiki · GitHub hope this solves your issue