To run container, please create dash.conf file with all desired configuration. Then just run the following command:
docker run -d -p "0.0.0.0:{desired_rpc_port}:{rpcport_from_dash.conf}" -p "0.0.0.0:{desired_node_port}:9999" -v "{/path/to/dash.conf}:/dash/dash.conf:ro" -v "{/path/to/blockchain/folder}:/dash/blockchain" --restart always --name dash_node martinsolie/dash:0.12.2.3
Example run command:
docker run -d -p "0.0.0.0:9998:9998" -p "0.0.0.0:9999:9999" -v "/opt/dash/dash.conf:/dash/dash.conf:ro" -v "/opt/dash/blockchain:/dash/blockchain" --restart always --name dash_node martinsolie/dash:0.12.2.3
Example dash.conf for example run command:
testnet=0
server=1
txindex=1
whitelist=127.0.0.1
maxmempool=1000
maxconnections=8
rpcuser=dash_rpc_user
rpcpassword=S0meseCURepaSsS
rpcport=9998
rpcallowip=0.0.0.0/0
rpcservertimeout=60
rpcthreads=8
rpcworkqueue=32
txconfirmtarget=3
Content type
Image
Digest
Size
55 MB
Last updated
about 5 years ago
docker pull martinsolie/dash:0.17.0.3