Bitmessage GUI client, with data persistence, running from Docker container using X forwarding to render on host
Shell
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
Dockerfile new version of bitmessage requires python-msgpack Mar 2, 2017
LICENSE first commit Feb 10, 2017
README.md
bitmessage change to Docker address Feb 10, 2017
bitmessage-shell new version of bitmessage requires python-msgpack Mar 2, 2017
docker-entrypoint.sh
install.sh path correction Feb 10, 2017

README.md

georgeglarson/docker-bitmessage-gui

Docker Pulls

Bitmessage GUI in a Docker container

Introduction

The purpose of this project is to make the Bitmessage GUI interface available on a system, through a Docker container, with the fluidity of applications natively installed.

A description of how and why this project came to be can be found at j0rg3.com.

Installation

git clone https://github.com/georgeglarson/docker-bitmessage-gui

cd docker-bitmessage-gui

./install.sh

The installation script will:

  • pull Docker image
  • make local directories
  • generate SSH keys
  • create symbolic links

Alternatively, you can execute the commands yourself:

#download Docker container image
docker pull j0rg3/bitmessage-gui

# make directory for Bitmessage configuration, data and SSH keys
# nothing will happen if directory already exists
mkdir -p ~/.config/PyBitmessage/keys

# generate keys for SSH
cd ~/.config/PyBitmessage/keys
ssh-keygen -b 4096 -P "" -C $"$(whoami)@$(hostname)-$(date -I)" -f docker-bitmessage-keys

# link so Docker container will see as pubkey
ln -fs docker-bitmessage-keys.pub authorized_keys

# link to Bitmessage script for system-wide access
ln -fs ~/docker-bitmessage-gui/bitmessage /usr/local/bin/bitmessage

Notes

The commands contained in the 'bitmessage' script:

DID=$(docker run -p 8444:8444 -v ~/.config/PyBitmessage/:/root/.config/PyBitmessage -v ~/.config/PyBitmessage/keys/:/root/.ssh/ -dit j0rg3/bitmessage-gui bash) && \
DIP=$(docker inspect $DID | grep IPAddress | cut -d '"' -f 4) && \ 
ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oIdentityFile=~/.config/PyBitmessage/keys/docker-bitmessage-keys -X $DIP ./PyBitmessage/src/bitmessagemain.py && \
docker kill $DID

References

http://j0rg3.com/2017/02/17#20170217.making.a.docker.bitmessage