Build with Docker
Prerequisites
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart dockerBuild Image
docker build -t realsim:cuda12.8 .Run Container and Test
xhost +local:rootdocker run -it --rm --gpus all \
-e DISPLAY \
-e XAUTHORITY=$XAUTHORITY \
-e NVIDIA_VISIBLE_DEVICES=all \
-e NVIDIA_DRIVER_CAPABILITIES=graphics,compute,utility \
-e LIBGL_DRI3_DISABLE=1 \
-v $XAUTHORITY:$XAUTHORITY \
-v /tmp/.X11-unix:/tmp/.X11-unix:rw \
realsim:cuda12.8 /bin/bash
Last updated