Skip to content

Instantly share code, notes, and snippets.

@kng
Created April 16, 2023 17:40
Show Gist options
  • Save kng/c9e62acc5db76629e86cb8d2ba828d42 to your computer and use it in GitHub Desktop.
Save kng/c9e62acc5db76629e86cb8d2ba828d42 to your computer and use it in GitHub Desktop.
Run gnuradio-companion in docker on Debian
#!/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