Ubuntu 14.04 LTS, Ubuntu 16.04 LTSUbuntu 16.04 LTSv0.18.3# Use 'curl -sSL https://get.daocloud.io/docker | sh' instead of this line
# when your server is in China.
wget -qO- https://get.docker.com/ | sh
service docker start
service docker status
cd /work
git clone [email protected]:btccom/btcpool.git
cd btcpool/docker/bitcoin-abc/v0.18.3
# If your server is in China, please check "Dockerfile" and uncomment some lines.
# If you want to enable testnet, please uncomment several lines behind `# service for testnet`
# build
docker build -t bitcoin-abc:0.18.3 .
# docker build --no-cache -t bitcoin-abc:0.18.3 .
# mkdir for bitcoin-abc
mkdir -p /work/bitcoin-abc
# bitcoin.conf
touch /work/bitcoin-abc/bitcoin.conf
rpcuser=bitcoinrpc
# generate random rpc password:
# $ strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 30 | tr -d '\n'; echo
rpcpassword=xxxxxxxxxxxxxxxxxxxxxxxxxx
rpcthreads=4
rpcallowip=172.16.0.0/12
rpcallowip=192.168.0.0/16
rpcallowip=10.0.0.0/8
# use 1G memory for utxo, depends on your machine's memory
dbcache=1000
# use 8MB block when call GBT
# The blockmaxsize should be between 1000001 and 8000000.
blockmaxsize=8000000
# start docker
docker run -it -v /work/bitcoin-abc:/root/.bitcoin --name bitcoin-abc -p 8333:8333 -p 8332:8332 -p 8331:8331 --restart always -d bitcoin-abc:0.18.3
#docker run -it -v /work/bitcoin-abc:/root/.bitcoin --name bitcoin-abc -p 8333:8333 -p 8332:8332 -p 8331:8331 -p 18333:18333 -p 18332:18332 -p 18331:18331 --restart always -d bitcoin-abc:0.18.3
# login
docker exec -it bitcoin-abc /bin/bash
Content type
-
Digest
Size
522.4 MB
Last updated
almost 8 years ago
docker pull dubuqingfeng/btcpool-daemons:bitcoin-abc-0.18.3