BitcoinXT for Docker
Docker image that runs a BitcoinXT node in a container for easy deployment.
This is a pretty quick and dirty refactoring of kylemanna's bitcoin for docker image that downloads BitcoinXT instead of Bitcoin Core. It also uses Jeff Garzik's bootstrap.dat file to speed up initial blockchain syncing.
Instructions
Setup a directory to hold bitcoin blockchain, outside of any docker container:
BITCOIN_DIR=/data/bitcoin
mkdir -p $BITCOIN_DIR
chown -R root:docker $BITCOIN_DIR
chmod -R g+w $BITCOIN_DIR
Create bitcoin docker containers:
docker run --name=bitcoinxt-data -v $BITCOIN_DIR:/bitcoin busybox chown 1000:1000 /bitcoin
docker run --volumes-from=bitcoinxt-data --name=bitcoinxt-node -d \
-p 8333:8333 \
-p 127.0.0.1:8332:8332 \
enigmacurry/bitcoinxt
Watch the node logs as bootstrap.dat and initial blockchain sync begins:
docker logs -f bitcoinxt-node
You're done!