Bitcoin Core is a reference client that implements the Bitcoin protocol for remote procedure call (RPC) use. It is also the second Bitcoin client in the network's history. Learn more about Bitcoin Core on the Bitcoin Developer Reference docs.
This image contains the main binaries from the Bitcoin Core project - bitcoind, bitcoin-cli and bitcoin-tx. It behaves like a binary, so you can pass any arguments to the image and they will be forwarded to the bitcoind binary:
❯ docker run --rm -it cryptodockerhub/bitcoin-core:latest
You can also mount a directory in a volume under /data
in case you want to access it on the host:
> docker run -v /btc-data:/data -it -rm cryptodockerhub/bitcoin-core:latest
For information on file structure, visit the crypto-docker/coin-base repository.
version: "3"
services:
bitcoind:
hostname: bitcoin-core
container_name: "bitcoin-core"
image: cryptodockerhub/bitcoin-core:latest
volumes:
- bitcoincore:/data
volumes:
bitcoincore:
To make changes, you must link the root directory to any folder. You can edit the config.conf file under the root directory.