0

Thanks to the bitcoin.stack community I have successfully launched a bitcoind docker with an external volume which has the block data

Currently its in 100% sync but I am facing an issue to get information using bitcoin-cli I need to run bitcoind -reindex and then add txindex=1 into bitcoin.conf

As I pulled the docker image from docker hub I do not have any control over its docker file and I have 140GB+ blockchain data that I do not wanna discard and start over

How do I run --reindex on a bitcoin docker container ?

bumped to the homepage by Community 2 days ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • I was mistaken It was a mistake thinking docker is kind of VM do not run docker bitcoin images if you are planing to extend and develop application, switched to LXC/LXD – Fara Feb 27 '18 at 9:23
0

Well if you use volume you discard nothing. Next restart will reuse your volume.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.