2ship2harkinian/run-docker.sh
Garrett Cox 2332f63f5a Initial commit for 2S2H
Co-authored-by: Louis <35883445+louist103@users.noreply.github.com>
Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com>
Co-authored-by: Random06457 <28494085+Random06457@users.noreply.github.com>
2024-05-22 09:04:51 -05:00

4 lines
236 B
Bash
Executable File

cookie=$(xauth list | head -1 | sed "s/unix: /unix:0 /")
sudo docker build --build-arg MY_XAUTH_COOKIE="$cookie" . -t soh
sudo docker run --rm -it -e DISPLAY --net=host --device=/dev/dri --device /dev/snd -v $(pwd):/2ship soh /bin/bash