Sign inSign up

wshub/bitcoin

By wshub

•Updated about 4 years ago

Image
0

1.5K

wshub/bitcoin repository overview

⁠bitcoin-docker

Dockerfile for bitcoin (https://github.com/bitcoin/bitcoin⁠)

⁠Building

docker build -t bitcoin .

⁠Running

Customize config file coin.conf first.

# block dir
mkdir data
docker run --rm -itd --name btc -p 8332:8332 -v `pwd`/data:/opt/coin/data -v `pwd`/coin.conf:/opt/coin/coin.conf bitcoin

⁠Using pre-built docker image

docker run --rm -itd --name btc -p 8332:8332 -v `pwd`/data:/opt/coin/data -v `pwd`/coin.conf:/opt/coin/coin.conf wshub/bitcoin

Tag summary

Content type

Image

Digest

sha256:8aacd405b…

Size

99 MB

Last updated

about 4 years ago

docker pull wshub/bitcoin