Open tanggrapes opened 4 years ago
Attaching to 9ab47c9e9a64_dashd 9ab47c9e9a64_dashd | + dash_init 9ab47c9e9a64_dashd | + '[' '!' -e /dash/.dashcore/dash.conf ']' 9ab47c9e9a64_dashd | + cat /dash/.dashcore/dash.conf 9ab47c9e9a64_dashd | rpcport=9998 9ab47c9e9a64_dashd | rpcconnect=127.0.0.1 9ab47c9e9a64_dashd | rpcuser=winstantpay 9ab47c9e9a64_dashd | rpcpassword=iwillchangethat 9ab47c9e9a64_dashd | server=1 9ab47c9e9a64_dashd | Initialization completed successfully 9ab47c9e9a64_dashd | + echo 'Initialization completed successfully' 9ab47c9e9a64_dashd | + '[' 0 -gt 0 ']' 9ab47c9e9a64_dashd | + args=("-rpcallowip=::/0") 9ab47c9e9a64_dashd | + exec dashd -rpcallowip=::/0 9ab47c9e9a64_dashd | : Error opening block database. 9ab47c9e9a64_dashd | Please restart with -reindex or -reindex-chainstate to recover. 9ab47c9e9a64_dashd exited with code 1
how can i modify the entrypoint of the image? I want to run dashd with -reindex options
Hi,
You should be able to run the image with the dashd command and other flags. E.g.:
dashd
docker run --rm --name whatever -it dashpay/dashd dashd -reindex
Can you see if that will work for you?
Attaching to 9ab47c9e9a64_dashd 9ab47c9e9a64_dashd | + dash_init 9ab47c9e9a64_dashd | + '[' '!' -e /dash/.dashcore/dash.conf ']' 9ab47c9e9a64_dashd | + cat /dash/.dashcore/dash.conf 9ab47c9e9a64_dashd | rpcport=9998 9ab47c9e9a64_dashd | rpcconnect=127.0.0.1 9ab47c9e9a64_dashd | rpcuser=winstantpay 9ab47c9e9a64_dashd | rpcpassword=iwillchangethat 9ab47c9e9a64_dashd | server=1 9ab47c9e9a64_dashd | Initialization completed successfully 9ab47c9e9a64_dashd | + echo 'Initialization completed successfully' 9ab47c9e9a64_dashd | + '[' 0 -gt 0 ']' 9ab47c9e9a64_dashd | + args=("-rpcallowip=::/0") 9ab47c9e9a64_dashd | + exec dashd -rpcallowip=::/0 9ab47c9e9a64_dashd | : Error opening block database. 9ab47c9e9a64_dashd | Please restart with -reindex or -reindex-chainstate to recover. 9ab47c9e9a64_dashd exited with code 1
how can i modify the entrypoint of the image? I want to run dashd with -reindex options