Closed RapidFire05 closed 1 year ago
So it was because I was setting bind=
Tor conf where 172.19.0.11 is the bitcoin core container. HiddenServicePort 8333 172.19.0.11:8333
it must be using host networking also or it will be bound to an internal docker network.
I went ahead and built a custom docker image with both tor and btc in the same container. Then following the guides on the bitcoin tor docs, now just getting http403 when checking node status on bitnodes.
Edit: 403 was because bitnodes website was timed out but not informing me. A refresh of the page caused the node to be reachable. So conclusion is that following the guide for bitcoin and tor works fine but only when tor and btc are together. When I was separating them into dif containers, some weirdness appeared.
Interesting I feel it is much better to have things separated so its easier to troubleshoot issues.
You can use docker-compose to actually make things work together which is a lot better solution.
You can take a look at this repo for how that actually works https://github.com/lncm/thebox-compose-system
Can someone help clarify something for me? The docs say launch with this command:
With the ports meaning this:
However, when I netstat -l inside the container i do not see anything listening on 8333. This is what I see:
Should I be seeing something listening on 8333?