l4t-jetpack β JetPack 7.2.1 image (L4T r39.2.1, Ubuntu 24.04, Thor / Orin)
A working, correct build of the NVIDIA L4T JetPack developer image for
JetPack 7.2.1 (L4T r39.2.1) on Jetson AGX Thor and Orin devkits.
Ubuntu 24.04 Noble, aarch64. Based on nvcr.io/nvidia/base/ubuntu:24.04
the repo.download.nvidia.com/jetson/{common,som,ffmpeg} r39.2 apt repos,
and approx jp721/Linux_for_Tegra/tools/samplefs/nvubuntu-noble-basic-aarch64-packages.
Published image: whitesscott/l4t-jetpack on Docker Hub.
Build
make image_jp72
Sanity check
make smoke_jp72
Run
docker run -it --rm --name jetpack --network host \
--runtime=nvidia --gpus=all \
--privileged --ipc=host \
--ulimit memlock=-1 --ulimit stack=67108864 \
--shm-size=16g \
-e NVIDIA_VISIBLE_DEVICES=all \
-e NVIDIA_DRIVER_CAPABILITIES=all \
whitesscott/l4t-jetpack:r39.2.1
With secure X11 auth (recommended for X11 forwarding)
docker run -it --rm --name jetpack --network host \
--runtime=nvidia --gpus=all \
-e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix \
-e XAUTHORITY=/tmp/.Xauthority \
-v $XAUTHORITY:/tmp/.Xauthority:ro \
--privileged --ipc=host \
--ulimit memlock=-1 --ulimit stack=67108864 \
--shm-size=16g \
-e NVIDIA_VISIBLE_DEVICES=all \
-e NVIDIA_DRIVER_CAPABILITIES=all \
nvcr.io/nvidia/l4t-jetpack:r39.2.1
Requires $XAUTHORITY to be set on the host (it is by default under GDM/GNOME; check with echo $XAUTHORITY). No xhost command needed β the container authenticates as your user.
Test X11 forwarding
The -e DISPLAY + -v /tmp/.X11-unix mount in the run command wires up X11 so containerized apps can open windows on the host desktop. Quick verification, inside the container:
xeyes # simplest: a pair of eyeballs on your Thor desktop
Full GStreamer video pipeline to the display (proves X + Xv + GStreamer plugin registry all work):
gst-launch-1.0 videotestsrc num-buffers=300 pattern=smpte ! videoconvert ! xvimagesink
Confirmed working on NVIDIA Thor (sm 11.0) and AGX Orin (sm 8.7)
- CUDA 13.2.2 β
nvcccompiles + on-device kernel executes (atomicAddreturns expected 65536) - cuDNN 9.20.0.46 β
cudnnGetVersion()returns 92000 via real link - TensorRT 10.16.2 β
getInferLibVersion()returns 101602; builder resources present for sm_110, sm_100, sm_120, sm_75-89 - cuDLA 13.2 β headers + libs installed (runtime not exercised)
- VPI 4.1.4 β Python
import vpisucceeds - OpenCV 4.8.0 β Python
import cv2succeeds - PyTorch β installable via
pip install --index-url https://pypi.jetson-ai-lab.io/sbsa/cu132 torch;torch.mmondevice="cuda"runs on Thor - Multimedia β GStreamer 1.24.2 + NVIDIA plugins (
nvarguscamerasrc,nvv4l2camerasrc,nvv4l2decoder,nvv4l2h264enc,nvv4l2h265enc,nvvidconv); H.264 hardware encode with NVMM zero-copy verified end-to-end - Auto-arch β entrypoint sets
TORCH_CUDA_ARCH_LISTfrom__nvcc_device_query(Thor β11.0, Orin β8.7)
Also included: build-essential, git, rsync, openssh-client, xauth, python3 + pip + numpy, locale set to en_US.UTF-8, render/video groups pre-created at Thor default GIDs.
Not included Add to Dockerfile if needed: Pytorch, DeepStream, Triton, Isaac ROS, DALI, FFmpeg.
Inspect the published image
docker pull whitesscott/l4t-jetpack:latest
docker history whitesscott/l4t-jetpack:latest --no-trunc # every RUN/COPY layer with its command
docker inspect whitesscott/l4t-jetpack:latest | jq # ENV, ENTRYPOINT, CMD, exposed ports
Image size
- DISK USAGE 29.5GB
- CONTENT SIZE 11GB
Upstream
Based on NVIDIA source : https://gitlab.com/nvidia/container-images/l4t-jetpack
Dockerfile.jetpack_721.txt (7.8 KB)
Makefile.txt (1008 Bytes)