<p>Well if you use volume you discard nothing. Next restart will reuse your volume.</p>

CC BY-SA 4.0
2018-11-21T19:49:31.830Z
2018-11-21T19:49:31.830Z
Boris Ivanov
<p>Thanks to the bitcoin.stack community I have successfully launched a bitcoind docker with an external volume which has the block data </p>

<p>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</p>

<p>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 </p>

<p>How do I run --reindex on a bitcoin docker container ?</p>

CC BY-SA 3.0
2018-02-27T09:23:03.640Z
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
f4r4
<bitcoin-core><bitcoind><development><full-node>
Running a bitcoind docker
f4r4
# Running a bitcoind docker

(Asked by: username_0 on 2018-02-17)

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 ?

**Tags:** bitcoin-core, bitcoind, development, full-node

> **Comments:**
> **username_0**: 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  

---

## 1 answers

### Answer by username_1 on 2018-11-21. Score: 0

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


---

