osci-render-docker/osci-render.sh

13 wiersze
618 B
Bash
Executable File

#!/bin/sh
# run osci-render from docker image
docker run -it --rm --net=host --env="DISPLAY" \
--device /dev/snd \
--device /dev/dri \
--env="PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native" \
--volume="$XDG_RUNTIME_DIR/pulse/native:$XDG_RUNTIME_DIR/pulse/native" \
--volume="$HOME/.config/pulse/cookie:/root/.config/pulse/cookie" \
--volume="$HOME/.Xauthority:/root/.Xauthority:rw" \
--volume="$HOME/.config/osci-render.settings:/root/.config/osci-render.settings:rw" \
--volume="$HOME/tmp:/host:rw" \
osci-render:2.3