Skip to content

Docker to build bitcoind (core) from source using Debian Buster

Notifications You must be signed in to change notification settings

peleion/bitcoind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cc02a09 · May 1, 2020

History

24 Commits
May 1, 2020
Apr 6, 2020
May 22, 2019

Repository files navigation

bitcoind-docker

Dockerfile to build bitcoind (core) from source using Debian Buster. It pulls the latest production sources from GitHub, compiles them (including backward-compatible BerkeleyDB for old wallets and ZMQ for future lightning node use) then copies executables and supporting files to a new image to minimize final container/image size.

You must be running at least Docker version 17.05 to create the image as this utilizes a multistage build. You could split the Dockerfile into two separate passes if you want to develop using an older version. The final container should be able to run on any version of Docker.

This container should utilize a user-defined Docker network if you want to use any other bitcoin-related services (ElectrumX, EPS, etc) to allow inter-container communications.

This Docker creates a persistent volume to store blockchain data and config file.

A sample docker-compose is included - you will need to modify it.

About

Docker to build bitcoind (core) from source using Debian Buster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published