Created
April 16, 2023 17:40
-
-
Save kng/c9e62acc5db76629e86cb8d2ba828d42 to your computer and use it in GitHub Desktop.
Run gnuradio-companion in docker on Debian
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/sh | |
DOCKER_XAUTH=/tmp/.docker.xauth | |
touch ${DOCKER_XAUTH} | |
xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $DOCKER_XAUTH nmerge - | |
docker run -it --rm \ | |
--net=host \ | |
-e DISPLAY=$DISPLAY \ | |
-e XAUTHORITY=$DOCKER_XAUTH \ | |
-v /tmp/.docker.xauth:/tmp/.docker.xauth:ro \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \ | |
librespace/gnuradio bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment