Skip to content

Instantly share code, notes, and snippets.

@ulrichard
Created December 20, 2017 22:40
Show Gist options
  • Save ulrichard/b21452ea75fd04a14ff366e88bf1a139 to your computer and use it in GitHub Desktop.
Save ulrichard/b21452ea75fd04a14ff366e88bf1a139 to your computer and use it in GitHub Desktop.
running the docker container with electron-cash
#! /bin/sh
# run electron cash wallet in a docker container
docker build -t electron-cash .
#docker run -d \
# -p 10000:10000 \
docker run -ti --rm \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/.electron-cash:/home/user/.electron-cash \
--privileged -v /dev/bus/usb:/dev/bus/usb \
electron-cash
#sleep 2
#xpra --compressors=zlib,lz4 attach tcp:localhost:10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment