Newer
Older
glx-docker-headless-gpu / run.sh
# docker run --device=/dev/tty0:rw -it --rm --gpus all \
docker run --privileged -it --rm --gpus all \
  -p 6080:8081 \
  -p 5901:5901 \
  -p 2000-2002:2000-2002 \
  -v /dev/shm:/dev/shm \
  -e NVIDIA_VISIBLE_DEVICES=all \
  -e NVIDIA_DRIVER_CAPABILITIES=compute,graphics,display \
  -e QT_X11_NO_MITSHM=1 \
  -e SDL_VIDEODRIVER=x11 \
  -e VNCPASS=pass \
  -e RESOLUTION=1920x1080 \
  --shm-size=512mb \
  --net bridge \
  --name carla0910a carla0910a