A repository van most major releases back to 2009, inside a clean docker container
docker pull ghcr.io/mocacinno/mocacinno/bitcoin_core_docker:v2.7
docker pull mocacinno/btc_core:v2.7
bash-4.4$ bitcoind -?
bitcoin server starting
Usage: bitcoin [options]
Options:
-gen Generate coins
-gen=0 Don't generate coins
-min Start minimized
-datadir=<dir> Specify data directory
-proxy=<ip:port> Connect through socks4 proxy
-addnode=<ip> Add a node to connect to
-connect=<ip> Connect only to the specified node
-? This help message
for these old versions, help was not available, i got most of the commands out of the sourcecode (rpc.cpp)
bitcoind getblockcount
bitcoind getblocknumber
bitcoind getconnectioncount
bitcoind getdifficulty
bitcoind getbalance
bitcoind getgenerate
bitcoind setgenerate true 1
bitcoind getinfo
bitcoind getnewaddress
bitcoind sendtoaddress 1MocACiWLM8bYn8pCrYjy6uHq4U3CkxLaa 0.1
bitcoind listtransactions
bitcoind getamountreceived 1MocACiWLM8bYn8pCrYjy6uHq4U3CkxLaa
bitcoind getallreceived
bitcoind stop
v0.2.0 till v0.2.6 were gui only, v0.2.7 is the only version in the repo that has both gui and non gui images. To pull the gui images:
docker pull ghcr.io/mocacinno/mocacinno/bitcoin_core_docker:v2.7-gui
docker pull mocacinno/btc_core:v2.7-gui
offcourse, you need to make sure the magic cookies are available, screen is exported, docker is started correctly.
Previous version: v0.2.6 | Next version: v0.2.8 |
For more information on how to use the Docker image, visit the User Documentation.