Newer
Older
glx-docker-headless-gpu / run.sh
@kbkn kbkn on 4 Apr 2021 507 bytes change for websockets
# docker run --device=/dev/tty0:rw -it --rm --gpus all \
docker run --privileged -it --rm --gpus all \
  -p 6080:8081 \
  -p 7000:5900 \
  -p 2000-2002:2000-2002 \
  -v /dev/shm:/dev/shm \
  -v /run/udev:/run/udev \
  -v /run/dbus:/run/dbus \
  -e NVIDIA_VISIBLE_DEVICES=all \
  -e NVIDIA_DRIVER_CAPABILITIES=compute,graphics,display \
  -e QT_X11_NO_MITSHM=1 \
  -e SDL_VIDEODRIVER=x11 \
  -e VNCPASS=kobaken \
  -e RESOLUTION=1920x1080 \
  --shm-size=8gb \
  --net bridge \
  --name carla0910a carla0910a