A docker image to run a bitcoin full node.
458
Important: The bitcoind in the container does not use a bitcoin.conf from the linked volume! It only respects environment variables set through docker.
| Variable name | bitcoin.conf value | Default value |
|---|---|---|
| RPC_USER | rpcuser | 'user' |
| RPC_PASSWORD | rpcpassword | 'password' |
| RPC_PORT | rpcport | 8332 |
Mount /bitcoin from the container somewhere in your host to achieve persistence of the blockchain data. Even if present bitcoin.conf will not be used from the volume but newly generated!
docker run -e RPC_USER=john -e RPC_PASSWORD=silver -v /opt/bitcoin:/bitcoin levino/bitcoind
Content type
Image
Digest
sha256:1d40b0a76…
Size
487.7 MB
Last updated
about 11 years ago
docker pull levino/bitcoind:stable