https://github.com/gregdhill/bitcoin-docker
₿ 🐳
https://github.com/gregdhill/bitcoin-docker
bitcoin docker docker-compose
Last synced: about 2 months ago
JSON representation
₿ 🐳
- Host: GitHub
- URL: https://github.com/gregdhill/bitcoin-docker
- Owner: gregdhill
- Created: 2020-04-10T18:20:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-10T18:20:56.000Z (about 6 years ago)
- Last Synced: 2025-06-24T21:44:32.692Z (about 1 year ago)
- Topics: bitcoin, docker, docker-compose
- Language: Dockerfile
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitcoin - Docker
Easily run a four node chain in regression test mode.
```shell
docker-compose up
docker build -t bitcoin .
address=$(docker run --network="host" bitcoin bitcoin-cli -rpcpassword=admin -rpcuser=admin -regtest getnewaddress)
docker run --network="host" bitcoin bitcoin-cli -rpcpassword=admin -rpcuser=admin -regtest generatetoaddress 100 "${address}"
```