https://github.com/mu373/docker-bitcoind
Run bitcoind on Docker. Easy integration with mempool running in separate container.
https://github.com/mu373/docker-bitcoind
bitcoin bitcoind blockchain docker
Last synced: 4 months ago
JSON representation
Run bitcoind on Docker. Easy integration with mempool running in separate container.
- Host: GitHub
- URL: https://github.com/mu373/docker-bitcoind
- Owner: mu373
- License: mit
- Created: 2023-08-01T04:25:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T03:48:55.000Z (over 1 year ago)
- Last Synced: 2025-06-10T22:50:08.548Z (about 1 year ago)
- Topics: bitcoin, bitcoind, blockchain, docker
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-bitcoind
Run bitcoind with tor on Docker.
- The base image is [mu373/docker-bitcoind-image](https://github.com/mu373/docker-bitcoind-image)
- This is a fork of [kylemanna/docker-bitcoind](https://github.com/kylemanna/docker-bitcoind) with tor preinstalled.
- Works well with mempool running in separate containers: [mu373/docker-mempool](https://github.com/mu373/docker-mempool).
## Setup
Prepare configuration for `bitcoind`
```sh
cp docker-compose-template.yml docker-compose.yml
cp bitcoin.sample.conf bitcoin.conf
vim bitcoin.conf # Edit the configuration to fit your needs
# If you want to customize tor configs
cp torrc.d/custom-config torrc.d/my-custom-config
vim torrc.d/my-custom-config
```
Start the container
```sh
docker compose up -d
```
Access the shell inside the container
```sh
# In host
docker ps # Check container id
docker exec -it container_id bash
# In the container
$ bitcoin-cli -netinfo 4 # Check that there is successful onion connection
```
See logs
```sh
docker logs --tail 100 container_id
```