Running docker image withing Jetson AGX Xavier

Hi guys,

I’ve succesfully flashed Jetson AGX Xavier and was running some examples on it. Now I would like to run a docker image inside Xavier. So I went to Installation Guide — NVIDIA Cloud Native Technologies documentation and followed installation steps.

The problem is at the step:
sudo docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi

I’ve read forums and found out that there is no nvidia-smi command for Xavier. How can I test that the image is working fine?


Since Jetson is an ARM system, you will need a container with l4t tag.

For example:

$ xhost +
$ sudo docker run -it --rm --net=host --runtime nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix


Thank you,

It worked :)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.