Created
December 17, 2017 03:17
-
-
Save guiambros/8847ae6d23299a395c3d8a566996a16f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run \ | |
--rm \ | |
--hostname container \ | |
-it \ | |
--net host \ | |
--cpuset-cpus 0 \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ | |
-e DISPLAY=$DISPLAY \ | |
--device /dev/snd \ | |
-v /dev/shm:/dev/shm \ | |
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \ | |
-v ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native \ | |
--group-add $(getent group audio | cut -d: -f3) \ | |
vizdoom |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment