I have one jetson NX with jetpack4.6. And install docker and docker runtimer container.
And I build a new image with an ordinary user from dockerfile, the command in dockerfile is below:
FROM l4t-base:r32.6.1:latest
RUN apt -y install sudo
RUN useradd -m ecbu && echo "ecbu:111111" | chpasswd && adduser ecbu sudo
ENV LANG C.UTF-8
WORKDIR /home/ecbu
USER ecbu
I install cudnn in container from new docker image, and run cudnn samples success with root user, but failed with ordinary user.The error is :
ERROR: cuda failure (no CUDA-capable device is detected)