Bitcoin image
All available environment variables are:
| Environment Variable | Example Value | Required | Description |
|---|---|---|---|
| ZMQ_PUB_ADDRESSES | tcp://blockbook:38330 | Addresses 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 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
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.
VERSION environment variable to the version that needs to be released. With syntax "BITCOIN_VERSION" + "_alpine" + "ALPINE_VERSION".COMMIT environment variable to the hash of the Git commit that needs to be released. It defaults to the latest commit.Example release statement:
VERSION=0.20.1-r1_alpine3.13 ./release.sh
Content type
Image
Digest
Size
7.6 MB
Last updated
over 5 years ago
docker pull xsystems/bitcoin:0.20.1-r1_alpine3.13