A bitcoin-core docker image that can run the QT GUI
latest
(Dockerfile)
This image uses the latest image of ruimarinho/bitcoin-core and adds the debian dependencies that are necessary to run the QT graphical interface.
To start a X application in docker, some extra steps are necessary:
XSOCK=/tmp/.X11-unix
XAUTH=/tmp/.docker-xauth
# allow local connections to connect to X server display
xauth nlist ${DISPLAY} | sed -e 's/^..../ffff/' | xauth -f ${XAUTH} nmerge -
xhost local:
# run the image
docker run -ti \
--rm \
-e "XAUTHORITY=${XAUTH}" \
-v /home/$USER/.bitcoin:/home/bitcoin/.bitcoin \
-v ${XAUTH}:${XAUTH} \
-v ${XSOCK}:${XSOCK} \
guggero/bitcoin-core-qt
See ruimarinho/bitcoin-core for more examples.