Skip to content

Latest commit

Β 

History

History
67 lines (52 loc) Β· 2.13 KB

File metadata and controls

67 lines (52 loc) Β· 2.13 KB

Bitcoin Core

Build Version Size Package Pulls

Docker container for running a Bitcoin Core full node.

Features ✨

  • Runs a Bitcoin Core full node
  • Supports amd64 and arm64 platforms
  • Exposes the JSON-RPC and peer-to-peer ports
  • Supports custom bitcoin.conf configuration
  • Includes bitcoin-cli for node management

Usage 🐳

Docker Compose:
services:
  bitcoin:
    image: dobtc/bitcoin
    container_name: bitcoin
    ports:
      - 8332:8332
      - 8333:8333
    volumes:
      - ./bitcoin:/home/bitcoin/.bitcoin
    restart: always
    stop_grace_period: 1m
Docker CLI:
docker run -it --rm --name bitcoin -v "${PWD:-.}/bitcoin:/home/bitcoin/.bitcoin" docker.io/dobtc/bitcoin -printtoconsole
Executing getinfo on the running container:
docker exec --user bitcoin bitcoin bitcoin-cli -getinfo

Stars 🌟

Stargazers