Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.