This Docker image is built to run Bitcoin Core, leveraging a multi-stage build process.
27.0-ubuntu
,27-ubuntu
,latest
(27/ubuntu/Dockerfile)27.0-debian
,27-debian
,latest
(27/debian/Dockerfile)27.0-alpine
,27-alpine
(27/alpine/Dockerfile)27.0-alpine-tor
,27-alpine-tor
(27/alpine/tor/Dockerfile)
Origin README.md pls see ruimarinho/docker-bitcoin-core
- 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).
- Downloads and compiles BerkeleyDB for data storage.
- Downloads Bitcoin Core source code and verifies its integrity.
- Compiles Bitcoin Core with specified configurations.
- Sets up non-root user
bitcoin
for enhanced security. - Exposes necessary ports for Bitcoin Core operation.
-
Build Image:
docker build -t bitcoin-core .
-
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
-
Configuration:
Modify
bitcoin.conf
as per your requirements. -
Access Web Interface:
Open your browser and go to
http://localhost:8332
. -
Additional Information:
For any issues or feedback, please contact the maintainer:
- Maintainer: GeekWho
- Email: [email protected]
- Docker Image Version: 1.0
- Bitcoin Core Version: 27.0