Newer
Older
glx-docker-headless-gpu / server.sh
@Ryo Nakabayashi Ryo Nakabayashi on 12 Dec 2019 252 bytes simplify for openbox
#!/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=1280x720 \
  -e VNCPASS=pass \
  --name sim sim
  # -v $HOME/hoge:/hoge:ro \