muselsl()
{
local DOCKER_XAUTH=/tmp/.docker.xauth
local DOCKER_XSOCK=/tmp/.X11-unix
docker run --rm -it \
--env DISPLAY \
--env "XAUTHORITY=${DOCKER_XAUTH}" \
--net host \
--privileged \
--volume "$(pwd):/app" \
--workdir /app \
--volume "${DOCKER_XAUTH}:${DOCKER_XAUTH}" \
--volume "${DOCKER_XSOCK}:${DOCKER_XSOCK}" \
--volume "${HOME}/.config/muselsl/bluetooth:/etc/bluetooth" \
--volume "${HOME}/.config/muselsl/dbus:/etc/dbus-1" \
--volume "${HOME}/.config/muselsl/devices:/var/lib/bluetooth" \
sjawhar/muselsl $@
}
/tmp.docker.xauth before running this command, as outlined in this tutorial. This is only needed if you need to open the visualizations, or if you build an app on top of this container which needs to interact with the X11 socket. Alternatively, consider using x11docker.chown -R) on the host.You can also use this image to build apps which depend on muse-lsl. Simply use FROM sjawhar/muselsl then install all the other system and pip packages you need.
Content type
Image
Digest
Size
218.2 MB
Last updated
almost 6 years ago
docker pull sjawhar/muselsl