Skip to content

oneforalone/bitcoin-core-docker

Repository files navigation

Bitcoin core containerization

Install

  • clone the repo
git clone https://github.com/oneforalone/bitcoin-core-docker.git
cd bitcoin-core-docker
  • Generate rpcauth via rpcauth.py
./rpcauth.py <username> <password>

append the rpcauth=<username>:<token> line to bitcoin/bitcoin.conf file.

On Unix like system, using pipeline:

./rpcauth.py <username> <password> | grep "^rpcauth" | tee -a bitcoin/bitcoin.conf
  • start
docker compose up -d # or `docker-compose up -d` if you're not using Docker Desktop

Building new version

docker buildx build --tag oneforalonee/bitcoind:v26.0 --build-arg="BITCOIN_VERSION=<version_number>" .

Ensure the version is downloadable from https://bitcoincore.org/en/download/

About

Containerization bitcoin core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published