CUDA Docker images with GPU acceleration running on Nvidia Jetson Nano
7.3K
Docker containers for CUDA with GPU acceleration, running on Nvidia Jetson Nano. You need JetPack 4.2.1 for this!
See https://github.com/jetsistant/docker-cuda-jetpack for more details.
There are three containers:
base: bare minimum to deploy pre-built CUDA appruntime: extends base adding all shared libs from the CUDA toolkit. Use this if you have pre-built apps using multiple CUDA libs.devel (or latest): the 'real thing' for development; extends runtime by adding the compiler, debugging tools, headers, static libs and the CUDA samples.Here's how you can use the devel container to run one of the CUDA samples using the X server on the Jetson host:
# on the Jetson host:
sudo xhost +si:localuser:root
sudo docker run --runtime nvidia -it --rm --network host -e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix/:/tmp/.X11-unix jetsistant/cuda-jetpack:4.2.1-devel
# in the Docker container:
cp -r /usr/local/cuda/samples /tmp
cd /tmp/samples/5_Simulations/nbody
make
./nbody
Also see the nvidia-docker wiki. Replace nvcr.io/nvidia/l4t-base:r32.2 (unavailable at the moment of this writing), with jetsistant/cuda-jetpack.
Content type
Image
Digest
Size
1.2 GB
Last updated
over 7 years ago
docker pull jetsistant/cuda-jetpack