A docker image of Bitcoin Core with support for the following platforms:
amd64
(x86_64)arm32v7
(armv7)arm64
(aarch64, armv8)
Via Docker Compose:
services:
bitcoin:
container_name: bitcoin
image: dobtc/bitcoin
ports:
- 8332:8332
- 8333:8333
volumes:
- /opt/bitcoin:/home/bitcoin/.bitcoin
Via Docker CLI:
docker run -it --rm dobtc/bitcoin -printtoconsole
Executing getinfo
on the running container:
docker exec --user bitcoin bitcoin bitcoin-cli -getinfo