Skip to content

Latest commit

 

History

History
 
 

27

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Bitcoin Core Docker Image

bitcoin_core Docker Pulls Docker Stars Docker Image Size (latest)

This Docker image is built to run Bitcoin Core, leveraging a multi-stage build process.

Bitcoin Core Tags

Origin README.md pls see ruimarinho/docker-bitcoin-core

Features

  • Utilizes Alpine Linux for a lightweight base image.
  • Automatic installation of required dependencies.
  • Utilizes BerkeleyDB for data storage.
  • Supports configuration via bitcoin.conf.
  • Exposes ports for communication (8332, 8333, 18332, 18333, 18444).

Build Stages

BerkeleyDB

  • Downloads and compiles BerkeleyDB for data storage.

Bitcoin Core

  • Downloads Bitcoin Core source code and verifies its integrity.
  • Compiles Bitcoin Core with specified configurations.

Final Stage

  • Sets up non-root user bitcoin for enhanced security.
  • Exposes necessary ports for Bitcoin Core operation.

Usage

  1. Build Image:

    docker build -t bitcoin-core .
  2. Run Bitcoin Core:

    docker run -d --name bitcoin-core \
        -v /path/to/bitcoin.conf:/home/bitcoin/.bitcoin/bitcoin.conf \
        -p 8332:8332 \
        -p 8333:8333 \
        -p 18332:18332 \
        -p 18333:18333 \
        -p 18444:18444 \
        bitcoin-core
  3. Configuration:

    Modify bitcoin.conf as per your requirements.

  4. Access Web Interface:

    Open your browser and go to http://localhost:8332.

  5. Additional Information:

Maintenance

For any issues or feedback, please contact the maintainer:

Version Information

  • Docker Image Version: 1.0
  • Bitcoin Core Version: 27.0

License

MIT License