Public | Automated Build

Last pushed: 2 years ago
Short Description
A docker image to run a bitcoin full node.
Full Description

Bitcoind as a docker container

Important: The bitcoind in the container does not use a bitcoin.conf from the linked volume! It only respects environment variables set through docker.

Environment variables

Variable name bitcoin.conf value Default value
RPC_USER rpcuser 'user'
RPC_PASSWORD rpcpassword 'password'
RPC_PORT rpcport 8332

Volumes

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!

Example usage

docker run -e RPC_USER=john -e RPC_PASSWORD=silver -v /opt/bitcoin:/bitcoin levino/bitcoind
Docker Pull Command
Owner
levino
Source Repository

Comments (0)