Newer
Older
glx-docker-headless-gpu / server.sh
@kbkn kbkn on 31 Mar 2021 253 bytes fix server.sh
#!/bin/bash
docker build -t sim . && \
# docker run --device=/dev/tty0:rw -it --rm --gpus all \
docker run --privileged -it --rm --gpus all \
  -p 8081:8081 \
  -e RESOLUTION=1920x1080 \
  -e VNCPASS=pass \
  --name sim sim
  # -v $HOME/hoge:/hoge:ro \