Sign inSign up

xsystems/bitcoin

By xsystems

Updated over 5 years ago

Bitcoin image

Image
0

695

xsystems/bitcoin repository overview

xSystems - Bitcoin

Bitcoin image

Run

All available environment variables are:

Environment VariableExample ValueRequiredDescription
ZMQ_PUB_ADDRESSEStcp://blockbook:38330Addresses of services listening for the ZMQ notifications zmqpubhashtx and zmqpubhashblock

Expose ports 8030 and 38330 to, respectively, make RPC and ZMQ available outside the Docker network.
Persist the directory /bitcoin/data to preserve the state.

Docker CLI example
docker run --rm --interactive --tty --publish 8030:8030 --publish 38330:38330 --volume bitcoin-data:/bitcoin/data --env ZMQ_PUB_ADDRESSES="tcp://blockbook:38330" xsystems/bitcoin:0.20.1-r1_alpine3.13

Build the Image

Optionally change the variable DOCKER_TAG in build.sh and run that script to build an image of the Bitcoin and Alpine versions indicated by DOCKER_TAG. The syntax of DOCKER_TAG is the same as the syntax of VERSION described below.

Release the Image

  1. Set the VERSION environment variable to the version that needs to be released. With syntax "BITCOIN_VERSION" + "_alpine" + "ALPINE_VERSION".
  2. Optionally, set the COMMIT environment variable to the hash of the Git commit that needs to be released. It defaults to the latest commit.
  3. Run release.sh.

Example release statement:

VERSION=0.20.1-r1_alpine3.13 ./release.sh

Tag summary

Content type

Image

Digest

Size

7.6 MB

Last updated

over 5 years ago

docker pull xsystems/bitcoin:0.20.1-r1_alpine3.13