Skip to content

mu373/docker-bitcoind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-bitcoind

Run bitcoind with tor on Docker.

Setup

Prepare configuration for bitcoind

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

docker compose up -d

Access the shell inside the container

# 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

docker logs --tail 100 container_id

About

Run bitcoind on Docker. Easy integration with mempool running in separate container.

Topics

Resources

License

Stars

Watchers

Forks