Automated, verified & signed Docker images for Bitcoin Core (bitcoind), built per official release.
475
This repository provides automated, verified, and signed Docker images for Bitcoin Core (bitcoind). Images are built for all official releases starting from v28.0 and pushed to GitHub Container Registry (GHCR). All binaries are verified using the official SHA256SUMS and signed checksums.
The workflow automatically detects new releases from bitcoin/bitcoin and triggers the Docker build. The latest tag is set only for the newest official release.
Images are published to GHCR and Docker Hub — use whichever you prefer:
docker pull ghcr.io/anym001/docker-bitcoind:<version>
docker pull anym001/docker-bitcoind:<version> # Docker Hub
Minimal example:
docker run -d \
--name bitcoind \
-v /your/data/dir:/home/bitcoin/.bitcoin \
-p 8333:8333 \
-p 8332:8332 \
ghcr.io/anym001/docker-bitcoind:<version>
With permissions mapping and extra args:
docker run -d \
--name bitcoind \
-e PUID=1000 \
-e PGID=1000 \
-e UMASK=002 \
-e BITCOIND_EXTRA_ARGS="-txindex=1 -listen=1" \
-v /your/data/dir:/home/bitcoin/.bitcoin \
-p 8333:8333 \
-p 8332:8332 \
ghcr.io/anym001/docker-bitcoind:<version>
Tags:
<version> — e.g., 29.2, 30.0 (always built for each release)<version>-stable — e.g., 29-stable, 30-stablelatest — points to the latest official releaseIf you want custom configuration, place a bitcoin.conf file inside your mounted directory:
/your/data/dir/bitcoin.conf
Inside the container this becomes:
/home/bitcoin/.bitcoin/bitcoin.conf
Example:
server=1
daemon=0
# RPC
listen=1
rpcallowip=0.0.0.0/0
rpcbind=0.0.0.0
# ZMQ
zmqpubrawblock=tcp://0.0.0.0:28332
zmqpubrawtx=tcp://0.0.0.0:28333
If no config exists, Bitcoin Core will run with defaults.
| Variable | Description |
|---|---|
PUID | Container user UID (maps to host UID). Optional. |
PGID | Container group GID (maps to host GID). Optional. |
UMASK | Default file creation mask inside the container. Default: 002 |
DATA_PERM | Permission mode applied to the data directory. Default: 2770 |
BITCOIND_EXTRA_ARGS | Additional arguments appended to the bitcoind command. |
This image is designed with safety in mind:
bitcoindebian:stable-slim)PUID, PGID, and UMASKrelease-check.yml workflow:
build-docker.yml for missing releasesLATEST=true for the newest releasebuild-docker.yml workflow:
bitcoind, bitcoin-cli)PRs are welcome, especially improvements to:
The contents of this repository (Dockerfile, scripts, and workflows) are licensed under the MIT License.
This project only packages Bitcoin Core into Docker images; the upstream source code is not modified or redistributed in this repository. Bitcoin Core is distributed under its own MIT license, and all upstream copyrights and trademarks remain with their respective owners.
Built with Claude Code.
Content type
Image
Digest
sha256:cc011e3b4…
Size
119 MB
Last updated
3 months ago
docker pull anym001/docker-bitcoind