buzzkillb Posted June 30, 2019 Report Share Posted June 30, 2019 So I made this https://github.com/buzzkillb/denariusQTdocker with a command line script of this #!/bin/bash XSOCK=/tmp/.X11-unix XAUTH=/tmp/.docker-xauth mkdir -p ${HOME}/.denarius xauth nlist ${DISPLAY} | sed -e 's/^..../ffff/' | xauth -f ${XAUTH} nmerge - docker run -ti --rm -e "XAUTHORITY=${XAUTH}" -e "DISPLAY=${DISPLAY}" -v ${HOME}/.denarius:/denarius -v ${XAUTH}:${XAUTH} -v ${XSOCK}:${XSOCK} --name="denarius-qt-d" --user="${UID}:${GID}" buzzkillb/denariusqt:latest Which the QT works on Ubuntu 19.04 Going to throw a bunch of random ideas on how to run this on other os's in here. Quote Link to comment Share on other sites More sharing options...
buzzkillb Posted June 30, 2019 Author Report Share Posted June 30, 2019 From here https://fredrikaverpil.github.io/2016/07/31/docker-for-mac-and-gui-applications/ install docker on MacOS Install xquartz brew cask install xquartz Download Docker for Mac 1.12 stable from https://docs.docker.com/docker-for-mac/, install and run. Run Xquartz in bash open -a XQuartz allow network connections from clients in security tab Then this to allow connections from local machine ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}') xhost + $ip then run docker qt line docker run -d --name denariusqt -e DISPLAY=$ip:0 -v /tmp/.X11-unix:/tmp/.X11-unix buzzkillb/denariusqt:latest will also want to add volumes to keep the chaindata directory and wallet outside of the container and on host machine typically located here /Library/Application Support/Denarius so the below, something like this to run the QT in MacOS docker run -d --name denariusqt -e DISPLAY=$ip:0 -v `/Library/Application Support/Denarius`:/denarius -v /tmp/.X11-unix:/tmp/.X11-unix buzzkillb/denariusqt:latest  Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.